Remove some unused commented code

This commit is contained in:
Luka Murn 2016-07-29 16:08:30 +02:00
parent b085aa1db3
commit bed8687dbd

View file

@ -65,12 +65,10 @@
<!-- buttons --> <!-- buttons -->
<div class="collapse navbar-collapse" id="secondary-menu"> <div class="collapse navbar-collapse" id="secondary-menu">
<!-- True secondary navigation (buttons on the right side) -->
<ul class="nav navbar-nav navbar-right" style="vertical-align: bottom"> <ul class="nav navbar-nav navbar-right" style="vertical-align: bottom">
<% if project_page? %> <% if project_page? %>
<!-- TEMPORARY HIDDEN -->
<!--<li class="<%= "active" if is_project_info? %>">
<a href="<%= project_url(@project) %>"><span class="glyphicon glyphicon-info-sign"></span></a>
</li>-->
<% if can_view_project(@project) then %> <% if can_view_project(@project) then %>
<li id="canvas-nav-tab" class="<%= "active" if is_project_canvas? %>"> <li id="canvas-nav-tab" class="<%= "active" if is_project_canvas? %>">
<a href="<%= project_url(@project) %>" title="<%=t "nav2.projects.canvas" %>"> <a href="<%= project_url(@project) %>" title="<%=t "nav2.projects.canvas" %>">
@ -102,10 +100,6 @@
<% end %> <% end %>
<% elsif module_page? %> <% elsif module_page? %>
<!-- TEMPORARY HIDDEN -->
<!--<li class="<%= "active" if is_module_info? %>">
<a href="<%= my_module_url(@my_module) %>"><span class="glyphicon glyphicon-info-sign"></span></a>
</li>-->
<% if can_view_module_protocols(@my_module) then %> <% if can_view_module_protocols(@my_module) then %>
<li id="steps-nav-tab" class="<%= "active" if is_module_protocols? %>"> <li id="steps-nav-tab" class="<%= "active" if is_module_protocols? %>">
<a href="<%= protocols_my_module_url(@my_module) %>" title="<%=t "nav2.modules.steps" %>"> <a href="<%= protocols_my_module_url(@my_module) %>" title="<%=t "nav2.modules.steps" %>">
@ -155,6 +149,7 @@
<% end %> <% end %>
</ul> </ul>
<!-- Breadcrumbs, displayed on large screens --> <!-- Breadcrumbs, displayed on large screens -->
<ul class="breadcrumb hidden-xs"> <ul class="breadcrumb hidden-xs">
<li> <li>
@ -202,6 +197,7 @@
</li> </li>
<% end %> <% end %>
</ul> </ul>
</div> </div>
</div> </div>
</nav> </nav>