Remove the 'related' menu, only used by one view

This commit is contained in:
Roberto Rosario
2012-03-17 01:31:01 -04:00
parent 04cad6365c
commit fa1ee6fec0
2 changed files with 1 additions and 24 deletions

View File

@@ -153,7 +153,7 @@ bind_links([DocumentPage], [
bind_links([DocumentPage], [
document_page_navigation_first, document_page_navigation_previous,
document_page_navigation_next, document_page_navigation_last
], menu_name='related')
], menu_name='sidebar')
bind_links(['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')

View File

@@ -331,17 +331,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">
@@ -374,18 +363,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">