贡献者页面

This commit is contained in:
huang 2015-10-22 16:16:23 +08:00
parent 4c5843a169
commit bd793a00fe
3 changed files with 6 additions and 6 deletions

View File

@ -187,15 +187,11 @@ update
# Build a hash with repository usernames as keys and corresponding user ids as values
@repository.committer_ids = params[:committers].values.inject({}) {|h, c| h[c.first] = c.last; h}
flash[:notice] = l(:notice_successful_update)
redirect_to settings_project_url(@project, :tab => 'repositories')
elsif request.get?
respond_to do |format|
format.html{
render :layout => "base_projects"
}
end
end
end

View File

@ -1,4 +1,8 @@
<h3><%= l(:label_repository) %></h3>
<div class="project_r_h">
<div class="fl">
<h2 class="project_h2_repository"><%= render :partial => 'breadcrumbs', :locals => {:path => @path, :kind => 'dir', :revision => @rev} %></h2>
</div>
</div>
<%= simple_format(l(:text_repository_usernames_mapping)) %>

View File

@ -988,7 +988,7 @@ zh:
text_enumeration_destroy_question: "%{count} 个对象被关联到了这个枚举值。"
text_enumeration_category_reassign_to: '将它们关联到新的枚举值:'
text_email_delivery_not_configured: "邮件参数尚未配置,因此邮件通知功能已被禁用。\n请在config/configuration.yml中配置您的SMTP服务器信息并重新启动以使其生效。"
text_repository_usernames_mapping: "选择或更新与版本库中的用户名对应的Trustie用户。\n版本库中与Trustie中的同名用户将被自动对应。"
text_repository_usernames_mapping: "选择或更新与版本库中的用户名对应的Trustie用户版本库中与Trustie中的同名用户将被自动对应。"
text_diff_truncated: '... 差别内容超过了可显示的最大行数并已被截断'
text_custom_field_possible_values_info: '每项数值一行'
text_wiki_page_destroy_question: 此页面有 %{descendants} 个子页面和下级页面。您想进行那种操作?