37 lines
2.5 KiB
Plaintext
37 lines
2.5 KiB
Plaintext
<div class="font_title_left">
|
|
<%= l(:label_project_tool)%>
|
|
</div>
|
|
|
|
<div class="tools ">
|
|
<ul><h3>项目交流</h3>
|
|
<li style="background: url('http://<%= Setting.host_name %>/images/sidebar/tool_tag_alpha.png') no-repeat scroll 10px 30% transparent;"><%= link_to l(:label_project_tool_response) ,project_feedback_path(@project)%></li>
|
|
<% if @project.enabled_modules.where("name = 'files'").count > 0 %>
|
|
<li style="background: url('http://<%= Setting.host_name %>/images/sidebar/tool_tag_alpha.png') no-repeat scroll 10px 30% transparent;"><%= link_to l(:project_module_files) ,project_files_path(@project) %></li>
|
|
<% end %>
|
|
<% if @project.enabled_modules.where("name = 'wiki'").count > 0 %>
|
|
<li style="background: url('http://<%= Setting.host_name %>/images/sidebar/tool_tag_alpha.png') no-repeat scroll 10px 30% transparent;"><%= link_to l(:project_module_wiki), project_wiki_path(@project) %></li>
|
|
<% end %>
|
|
</ul>
|
|
<ul><h3>进度跟踪</h3>
|
|
<% if @project.enabled_modules.where("name = 'calendar'").count > 0 %>
|
|
<li style="background: url('http://<%= Setting.host_name %>/images/sidebar/tool_tag_alpha.png') no-repeat scroll 10px 30% transparent;"><%= link_to l(:project_module_calendar),project_calendar_path(@project) %></li>
|
|
<% end %>
|
|
|
|
<li style="background: url('http://<%= Setting.host_name %>/images/sidebar/tool_tag_alpha.png') no-repeat scroll 10px 30% transparent;"><%= link_to l(:label_roadmap) ,project_roadmap_path(@project) %></li>
|
|
<% if @project.enabled_modules.where("name = 'gantt'").count > 0 %>
|
|
<li style="background: url('http://<%= Setting.host_name %>/images/sidebar/tool_tag_alpha.png') no-repeat scroll 10px 30% transparent;"><%= link_to l(:project_module_gantt) ,project_gantt_path(@project) %></li>
|
|
<% end %>
|
|
|
|
</ul>
|
|
<ul><h3>其他工具</h3>
|
|
<% if @project.enabled_modules.where(" name = 'dts'").count > 0 %>
|
|
<li style="background: url('http://<%= Setting.host_name %>/images/sidebar/tool_tag_alpha.png') no-repeat scroll 10px 30% transparent;"><%= link_to l(:label_module_share) ,share_show_path(@project) %></li>
|
|
<% end %>
|
|
<% if @project.enabled_modules.where(" name = 'documents'").count > 0 %>
|
|
<li style="background: url('http://<%= Setting.host_name %>/images/sidebar/tool_tag_alpha.png') no-repeat scroll 10px 30% transparent;"><%= link_to l(:project_module_documents), project_documents_path(@project) %></li>
|
|
<% end %>
|
|
<li></li>
|
|
</ul>
|
|
|
|
</div>
|