清除不需要的子模块
This commit is contained in:
parent
f3ba393bd4
commit
6b8022cb23
|
@ -178,9 +178,10 @@
|
|||
<%= render :partial => 'layouts/new_footer'%>
|
||||
<div class="cl"></div>
|
||||
</div><!--Container end-->
|
||||
|
||||
<!--项目类型-->
|
||||
<div id="light" class="white_content02">
|
||||
<!-- 这里写需弹出框的HTML代码 -->
|
||||
|
||||
<div ><a href="javascript:void(0)" onClick="close_window('development_group');" class="box_close"></a></div>
|
||||
<div class=" mt10">
|
||||
<h3 class="mb10 c_blue">请选择项目类型:</h3>
|
||||
|
@ -198,7 +199,7 @@
|
|||
<span><%= l(:label_loading) %></span>
|
||||
</div>
|
||||
<div id="ajax-modal" style="display:none;"></div>
|
||||
<%= call_hook :view_layouts_base_body_bottom %>
|
||||
<%= call_hook :view_layouts_base_body_bottom %>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
<%= link_to l(:project_module_wiki), project_wiki_path(@project) %>
|
||||
<% end %>
|
||||
</li>
|
||||
<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>
|
||||
<!--<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>-->
|
||||
<!--<li>-->
|
||||
<!--<%# unless @project.enabled_modules.where("name = 'calendar'").empty? %>-->
|
||||
<!--<%#= link_to l(:project_module_calendar),project_calendar_path(@project) %>-->
|
||||
|
@ -23,21 +23,21 @@
|
|||
<!--<%#= link_to l(:project_module_gantt) ,project_gantt_path(@project) %>-->
|
||||
<!--<%# end %>-->
|
||||
<!--</li>-->
|
||||
<li>
|
||||
<% unless @project.enabled_modules.where("name = 'documents'").empty? %>
|
||||
<%= link_to l(:project_module_documents), project_documents_path(@project) %>
|
||||
<% end %>
|
||||
</li>
|
||||
|
||||
<!--<li>-->
|
||||
<!--<%# unless @project.enabled_modules.where("name = 'documents'").empty? %>-->
|
||||
<!--<%#= link_to l(:project_module_documents), project_documents_path(@project) %>-->
|
||||
<!--<%# end %>-->
|
||||
<!--</li>-->
|
||||
<!---->
|
||||
<li>
|
||||
<%= link_to l(:label_roadmap) ,project_roadmap_path(@project) %>
|
||||
</li>
|
||||
<li>
|
||||
<%= link_to l(:label_project_tool_response) ,project_feedback_path(@project)%>
|
||||
</li>
|
||||
<li>
|
||||
<% unless @project.enabled_modules.where("name = 'dts'").empty? %>
|
||||
<%= link_to l(:project_module_dts) ,share_show_path(@project) %>
|
||||
<% end %>
|
||||
</li>
|
||||
<!--<li>-->
|
||||
<!--<%# unless @project.enabled_modules.where("name = 'dts'").empty? %>-->
|
||||
<!--<%#= link_to l(:project_module_dts) ,share_show_path(@project) %>-->
|
||||
<!--<%# end %>-->
|
||||
<!--</li>-->
|
||||
|
||||
|
|
Loading…
Reference in New Issue