This commit is contained in:
huang 2015-03-12 17:23:28 +08:00
commit ab57e7e432
5 changed files with 34 additions and 12 deletions

View File

@ -172,9 +172,9 @@
<tr>
<td style="text-align: left" colspan="2">
<span class="font_lighter">
<%= l(:label_create_time) %>
<%= l(:label_end_time) %>
:&nbsp;
<%=format_time bid.created_on %>
<%= bid.deadline %>
</span>
<span style="float: right">
<% if betweentime(bid.deadline) < 0 %>

View File

@ -24,10 +24,13 @@
<%= render :partial => 'regested', locals: { :isregisted => false} %>
</div>
<%= form_tag('send_mail_to_member', :controller => 'projects',:action => 'send_mail_to_member', method: 'get',:remote=>true) do %>
<%= text_field_tag 'mail', '邮箱', :class => "fb_item fl" %>
<div class="cl"></div>
<div class="cl"></div>
<%= submit_tag '免费发送', :style => "display:block; width:80px; text-align:center; color:#fff; height:26px; padding-top:3px; margin-bottom:10px;" %>
<%= text_field_tag 'mail', '', :class => "fb_item fl", :placeholder => l(:label_input_email) %>
<div class="cl"></div>
<div class="cl"></div>
<a href="#" class="btn_free" onclick="$(this).parent().submit();">
<%= l(:label_send_email)%>
</a>
<%#= submit_tag '免费发送', :style => "display:block; width:80px; text-align:center; color:#fff; height:26px; padding-top:3px; margin-bottom:10px;" %>
<% end %>
</div>
</div>

View File

@ -77,6 +77,13 @@ en:
label_repository_plural: Repositories
enumeration_activities: Activities
#
# 项目托管平台
#
# 邀请
#
notice_registed_success: 您输入的邮箱为空或者该邮箱已被注册!
#
# 项目托管平台
@ -88,7 +95,7 @@ en:
field_description: Description
field_identifier: Identifier
field_enterprise_name: Enterprise
label_organization_choose: "- Please select an organization -"
text_length_between: "Length between %{min} and %{max} characters."
text_project_identifier_info: "Only lower case letters (a-z), numbers, dashes and underscores are allowed, must start with a lower case letter.<br />Once saved, the identifier cannot be changed."

View File

@ -43,9 +43,7 @@ zh:
project_module_attachments: 资源
label_invite: 邀请
label_invite_new_user: "发送邮件邀请新用户"
label_invite_trustie_user: "邀请Trustie注册用户"
label_issue_tracking: 问题跟踪
label_release_issue: 发布问题
@ -80,6 +78,18 @@ zh:
label_repository_plural: 版本库
enumeration_activities: 活动(时间跟踪)
#
# 项目托管平台
#
# 邀请
#
label_invite_new_user: "发送邮件邀请新用户"
label_invite_trustie_user: "邀请Trustie注册用户"
label_invite_join: 邀请加入
label_invite_email_tips: 输入好友邮箱地址Trustie会自动为该邮箱注册用户
notice_registed_success: 您输入的邮箱为空或者该邮箱已被注册!
#
# 项目托管平台
@ -91,10 +101,9 @@ zh:
field_description: 描述
field_identifier: 标识
field_enterprise_name: 组织名称
label_organization_choose: --请选择组织--
text_length_between: "长度必须在 %{min} 到 %{max} 个字符之间。"
text_project_identifier_info: "小写字母a-z、数字、破折号-和下划线_可以使用。<br />一旦保存,标识无法修改。"
field_is_public: 公开
field_hidden_repo: 隐藏代码库
button_create: 提交

View File

@ -2081,4 +2081,7 @@ zh:
label_recently_updated_message: 最近更新了留言
label_recently_updated_courseware: 最近更新了课件
label_no_courses: 您没有参与任何课程,请搜索课程、加入课程,或者创建课程吧!
label_end_time: 截止时间
label_send_email: 免费发送
label_input_email: 请输入邮箱地址