Remove commented template markup
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -116,70 +116,6 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% comment %}
|
||||
|
||||
{% get_menus_links names='object,sidebar,secondary' sort_results=True as links %}
|
||||
{% get_menu_links name='facet' sort_results=True as form_navigation_links %}
|
||||
|
||||
<div class="row">
|
||||
{% if links or form_navigation_links %}
|
||||
<div class="col-xs-12 col-sm-9 col-md-10 col-lg-10">
|
||||
{% else %}
|
||||
<div class="col-xs-12">
|
||||
{% endif %}
|
||||
{% include 'appearance/calculate_form_title.html' %}
|
||||
{% block content %}{% endblock %}
|
||||
{% block footer %}{% endblock %}
|
||||
</div>
|
||||
|
||||
{% if links or form_navigation_links %}
|
||||
<div class="col-xs-12 col-sm-3 col-md-2 col-lg-2">
|
||||
{% endif %}
|
||||
|
||||
{% if links %}
|
||||
<div class="pull-right btn-group" style="margin-bottom: 10px;">
|
||||
<button aria-expanded="true" type="button" class="btn btn-danger btn-sm dropdown-toggle" data-toggle="dropdown">
|
||||
{% trans 'Actions' %}
|
||||
<span class="caret"></span>
|
||||
<span class="sr-only">{% trans 'Toggle Dropdown' %}</span>
|
||||
</button>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
{% for links_set in links %}
|
||||
{% for entry in links_set %}
|
||||
<li><a class="btn-sm" href="{{ entry.url }}">{{ entry.text }}</a></li>
|
||||
{% endfor %}
|
||||
|
||||
{% if not forloop.last and links_set %}
|
||||
<li class="divider"></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>
|
||||
{% endif %}
|
||||
|
||||
{% if form_navigation_links %}
|
||||
<div class="pull-right list-group">
|
||||
{% if form_navigation_links %}
|
||||
{% for object_navigation_links in form_navigation_links %}
|
||||
{% with 'true' as hide_active_anchor %}
|
||||
{% with 'active' as link_class_active %}
|
||||
{% with 'list-group-item btn-sm' as link_classes %}
|
||||
{% include 'navigation/generic_navigation.html' %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if links or form_navigation_links %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endcomment %}
|
||||
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user