diff --git a/app/views/projects/settings/_new_repositories.html.erb b/app/views/projects/settings/_new_repositories.html.erb index a531e904a..b5a6ffe57 100644 --- a/app/views/projects/settings/_new_repositories.html.erb +++ b/app/views/projects/settings/_new_repositories.html.erb @@ -18,7 +18,7 @@
  • - +

    1.长度必须在1到254个字符之间
    2.仅限使用小写字母(a-z)、数字、破折号(-)和下划线(_)
    3.一旦保存,标识无法修改

    diff --git a/app/views/pull_requests/index.html.erb b/app/views/pull_requests/index.html.erb index 2e10d6598..f2591b6ea 100644 --- a/app/views/pull_requests/index.html.erb +++ b/app/views/pull_requests/index.html.erb @@ -3,9 +3,18 @@
      -
    • <%= link_to "待处理#{@requests_opened_count}".html_safe, project_pull_requests_path(:type => "1"), :remote => true, :class => "new_roadmap_type_nomal" %>
    • -
    • <%= link_to "已处理#{@requests_merged_count}".html_safe, project_pull_requests_path(:type => "2"), :remote => true, :class => "new_roadmap_type_nomal" %>
    • -
    • <%= link_to "已关闭#{@requests_closed_count}".html_safe, project_pull_requests_path(:type => "3"), :remote => true, :class => "new_roadmap_type_nomal" %>
    • +
    • + <%= link_to "待处理#{@requests_opened_count}".html_safe, + project_pull_requests_path(:type => "1"), :remote => true, :class => "new_roadmap_type_nomal", :id => "new_roadmap_type_1", :id => "new_roadmap_type_1" %> +
    • +
    • + <%= link_to "已处理#{@requests_merged_count}".html_safe, + project_pull_requests_path(:type => "2"), :remote => true, :class => "new_roadmap_type_nomal", :id => "new_roadmap_type_1", :id => "new_roadmap_type_2" %> +
    • +
    • + <%= link_to "已关闭#{@requests_closed_count}".html_safe, + project_pull_requests_path(:type => "3"), :remote => true, :class => "new_roadmap_type_nomal", :id => "new_roadmap_type_1", :id => "new_roadmap_type_3" %> +
    <% if allow_pull_request(@project) && User.current.member_of?(@project) %> <%= link_to "创建Pull Request", new_project_pull_request_path, :class => "btn btn-green fr mr15 mt10" %> @@ -34,11 +43,23 @@ <% else %> <%= render :partial => "projects/no_data" %>