|
|
|
@ -47,6 +47,9 @@
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to l(:project_module_repository),({:controller => 'repositories', :action => 'show', :id => @project, :repository_id => gitlab_repository(@project).identifier}), :class => "f14 c_blue02" %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% unless @project.project_score.changeset_num == 0 %>
|
|
|
|
|
<%= link_to "(#{@project.project_score.changeset_num})", ({:controller => 'repositories', :action => 'show', :id => @project, :repository_id => gitlab_repository(@project).identifier}), :class => "subnav_num c_orange",:id=>'project_files_count_nav' %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<!--<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) %>
|
|
|
|
|
<%= link_to "+"+l(:project_gitlab_create_repository), url_for(:controller => 'projects', :action => 'settings', :id => @project.id, :tab=>'repositories') , :class => "subnav_green" %>
|
|
|
|
|