socialforge/app/views/projects/_tools_expand.html.erb

49 lines
1.5 KiB
Plaintext
Raw Normal View History

<li>
<% if allow_pull_request(@project) > 0 && allow_show_pull_request(@project) == 0 %>
<%= link_to "Pull Requests", project_pull_requests_path(@project) %>
<% end %>
</li>
2015-03-07 15:32:50 +08:00
<li>
<% unless @project.enabled_modules.where("name = 'news'").empty? %>
<%= link_to l(:project_module_news), project_news_index_path(@project) %>
<% end %>
2015-03-07 15:32:50 +08:00
</li>
<li>
<% unless @project.enabled_modules.where("name = 'wiki'").empty? %>
<%= link_to l(:project_module_wiki), project_wiki_path(@project) %>
<% end %>
</li>
2015-04-14 09:10:14 +08:00
<!--<li>-->
<!--<%# unless @project.enabled_modules.where("name = 'code_review'").empty? %>-->
<!--<%#= link_to l(:project_module_code_review), {controller: 'code_review', action: 'index', id: @project.id} %>-->
<!--<%# end %>-->
<!--</li>-->
2016-09-19 14:23:33 +08:00
<li>
<% unless @project.enabled_modules.where("name = 'calendar'").empty? %>
<%= link_to l(:project_module_calendar),project_calendar_path(@project) %>
<% end %>
</li>
<li>
<% unless @project.enabled_modules.where("name = 'gantt'").empty? %>
<%= link_to l(:project_module_gantt) ,project_gantt_path(@project) %>
<% end %>
</li>
2015-04-14 09:10:14 +08:00
<!--<li>-->
<!--<%# unless @project.enabled_modules.where("name = 'documents'").empty? %>-->
<!--<%#= link_to l(:project_module_documents), project_documents_path(@project) %>-->
<!--<%# end %>-->
<!--</li>-->
<!---->
2015-03-12 09:03:25 +08:00
<li>
<%= link_to l(:label_roadmap) ,project_roadmap_path(@project) %>
</li>
<li>
<%= link_to l(:label_project_tool_response) ,project_feedback_path(@project)%>
</li>
2015-07-21 09:59:41 +08:00
2015-07-22 10:05:21 +08:00
2015-07-21 10:07:07 +08:00