|
|
|
@ -39,6 +39,14 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<% if allow_pull_request(@project) %>
|
|
|
|
|
<div class="subNav">
|
|
|
|
|
<%= link_to "Pull Requests", project_pull_requests_path(@project), :class => "f14 c_blue02" %>
|
|
|
|
|
<%= link_to "+新建请求", new_project_pull_request_path(:project_id => @project.id), :class => "subnav_green" %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<%# --版本库被设置成私有、module中设置不显示、没有创建版本库 三种情况不显示-- %>
|
|
|
|
|
<% if visible_repository?(@project) %>
|
|
|
|
|
<div class="subNav">
|
|
|
|
@ -57,15 +65,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
<!-- more -->
|
|
|
|
|
<% if allow_pull_request(@project) %>
|
|
|
|
|
<div class="subNav">
|
|
|
|
|
<%= link_to "Pull Requests", project_pull_requests_path(@project), :class => "f14 c_blue02" %>
|
|
|
|
|
<%= link_to "+新建请求", new_project_pull_request_path, :class => "subnav_green" %>
|
|
|
|
|
<% unless @project.project_score.attach_num == 0 %>
|
|
|
|
|
<%#= link_to "(#{@project.project_score.attach_num})", project_files_path(@project), :class => "subnav_num c_orange",:id=>'project_files_count_nav' %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="subNav subNav_jiantou" id="expand_tools_expand"><%= l(:label_project_more) %></div>
|
|
|
|
|
<ul class="navContent" id="navContent">
|
|
|
|
|