Remove the 'related' menu, only use by the document page navigation buttons

This commit is contained in:
Roberto Rosario
2015-01-17 01:51:05 -04:00
parent 8e2b6278e8
commit d422d8160c
2 changed files with 1 additions and 23 deletions

View File

@@ -90,7 +90,7 @@ register_links(DocumentPage, [
register_links(DocumentPage, [
document_page_navigation_first, document_page_navigation_previous,
document_page_navigation_next, document_page_navigation_last
], menu_name='related')
], menu_name='sidebar')
register_links(['documents:document_page_view'], [document_page_rotate_left, document_page_rotate_right, document_page_zoom_in, document_page_zoom_out, document_page_view_reset], menu_name='form_header')
register_links(DocumentPageTransformation, [document_page_transformation_edit, document_page_transformation_delete])

View File

@@ -344,17 +344,6 @@
</ul>
</div>
{% endif %}
{% get_object_navigation_links "related" as object_navigation_links %}
{% if object_navigation_links %}
<div class="block">
<h3>{% trans "Related actions" %}</h3>
<ul class="navigation">
{% with 'true' as as_li %}
{% include 'generic_navigation.html' %}
{% endwith %}
</ul>
</div>
{% endif %}
{% get_object_navigation_links "sidebar" as object_navigation_links %}
{% if object_navigation_links %}
<div class="block">
@@ -383,17 +372,6 @@
</ul>
</div>
{% endif %}
{% get_object_navigation_links "related" as object_navigation_links %}
{% if object_navigation_links %}
<div class="block">
<h3>{% trans 'Related actions' %}</h3>
<ul class="navigation">
{% with 'true' as as_li %}
{% include 'generic_navigation.html' %}
{% endwith %}
</ul>
</div>
{% endif %}
{% endif %}
{% get_object_navigation_links "sidebar" as object_navigation_links %}