From 4d58116da59b48f23661c91995c83d0f7ed6dec5 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Wed, 11 Mar 2015 15:44:22 +0800 Subject: [PATCH] =?UTF-8?q?#1997=20=E9=A1=B9=E7=9B=AE--=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E9=9B=86=E4=B8=AD=E7=9A=84=E2=80=9C=E5=88=9B=E5=BB=BA=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=BA=93=E2=80=9D=E5=92=8C=E9=85=8D=E7=BD=AE=E4=B8=AD?= =?UTF-8?q?=E2=80=9C=E6=96=B0=E5=BB=BA=E7=89=88=E6=9C=AC=E5=BA=93=E2=80=9D?= =?UTF-8?q?=E6=89=93=E5=BC=80=E7=9A=84=E7=AA=97=E5=8F=A3=E4=B8=8D=E4=B8=80?= =?UTF-8?q?=E6=A0=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_projects.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/base_projects.html.erb b/app/views/layouts/base_projects.html.erb index 3395e6f31..dbf15a566 100644 --- a/app/views/layouts/base_projects.html.erb +++ b/app/views/layouts/base_projects.html.erb @@ -168,7 +168,7 @@ <%= link_to l(:field_user_active_changeset), {:controller => 'repositories', :action => 'show', :id => @project.id}, :style => "color:#3CA5C6" %> (<%= @project.repositories.count %>) <% if User.current.logged? && User.current.member_of?(@project) %> - <%= link_to "+创建版本库", new_project_repository_path(@project),:style => "font-size:12px;color:#fff; padding:1px 3px 3px 3px;height:18px;margin-top:3px;background:#28be6c;float:right;line-height:20px;" %> + <%= link_to "+创建版本库", newrepo_project_repository_path(@project, :course => @project.project_type),:style => "font-size:12px;color:#fff; padding:1px 3px 3px 3px;height:18px;margin-top:3px;background:#28be6c;float:right;line-height:20px;" %> <% end %> <% end %>