diff --git a/mayan/apps/appearance/templates/appearance/generic_list_items_subtemplate.html b/mayan/apps/appearance/templates/appearance/generic_list_items_subtemplate.html index 65dfc1a00c..fb19aab886 100644 --- a/mayan/apps/appearance/templates/appearance/generic_list_items_subtemplate.html +++ b/mayan/apps/appearance/templates/appearance/generic_list_items_subtemplate.html @@ -103,7 +103,7 @@
{% get_menu_links 'object menu' source=object as resolved_links %} {% for object_navigation_links in resolved_links %} - {% with 'true' as horizontal %} + {% with 'true' as as_dropdown %} {% include 'navigation/generic_navigation.html' %} {% endwith %} {% endfor %} diff --git a/mayan/apps/appearance/templates/navigation/generic_navigation.html b/mayan/apps/appearance/templates/navigation/generic_navigation.html index 5f5ff5fc34..0a7782a231 100644 --- a/mayan/apps/appearance/templates/navigation/generic_navigation.html +++ b/mayan/apps/appearance/templates/navigation/generic_navigation.html @@ -1,3 +1,25 @@ -{% for link in object_navigation_links %} - {% include 'navigation/generic_subnavigation.html' %} -{% endfor %} +{% load i18n %} + +{% if as_dropdown %} +