|
|
@ -44,7 +44,7 @@
|
|
|
|
<% if rep_is_gitlab?(@project) %>
|
|
|
|
<% if rep_is_gitlab?(@project) %>
|
|
|
|
<%= link_to l(:project_module_repository), {:controller => 'projects', :action => 'settings', :id => @project.id, :tab=>'repositories'}, :class => "f14 c_blue02" %>
|
|
|
|
<%= link_to l(:project_module_repository), {:controller => 'projects', :action => 'settings', :id => @project.id, :tab=>'repositories'}, :class => "f14 c_blue02" %>
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
|
<%= link_to l(:project_module_repository), {:controller => 'repositories', :action => 'show', :id => @project.id }, :class => "f14 c_blue02" %>
|
|
|
|
<%= link_to l(:project_module_repository),({:controller => 'repositories', :action => 'show', :id => @project, :repository_id => gitlab_repository(@project).identifier}), :class => "f14 c_blue02" %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<a class="subnav_num">(<%= @project.repositories.count %>)</a>
|
|
|
|
<a class="subnav_num">(<%= @project.repositories.count %>)</a>
|
|
|
|
<% if (User.current.admin? || User.current.allowed_to?({:controller => 'projects', :action => 'settings'}, @project)) && rep_is_gitlab?(@project) %>
|
|
|
|
<% if (User.current.admin? || User.current.allowed_to?({:controller => 'projects', :action => 'settings'}, @project)) && rep_is_gitlab?(@project) %>
|
|
|
|