diff --git a/resources/views/partials/menu.twig b/resources/views/partials/menu.twig index 91dcf46..c8301b6 100644 --- a/resources/views/partials/menu.twig +++ b/resources/views/partials/menu.twig @@ -13,68 +13,6 @@ {% for section in template.cp.sections.root().visible() %} {{ menu.sections(template.cp.sections, section) }} {% endfor %} - - {% set submenus = getSubmenus(template.module.namespace) %} - - {% if count(submenus) %} - {% for addon in submenus %} - - {% endfor %} - - {% endif %} - {% else %} - - {% set menu = getSections(parent) %} - {% set main_menu = menu['main'] %} - {% set sub_menus = menu['sub_menus'] %} - - {% for navigation in main_menu %} -
  • - - {{ trans(navigation.title) }} - -
  • - {% endfor %} - - {% if count(sub_menus) %} - {% for addon in sub_menus %} - - {% endfor %} - - {% endif %} - {% endif %} \ No newline at end of file diff --git a/resources/views/partials/messages.twig b/resources/views/partials/messages.twig index 61a24b2..7e51213 100644 --- a/resources/views/partials/messages.twig +++ b/resources/views/partials/messages.twig @@ -2,7 +2,7 @@ {% if message_exists('important') %}
    {% for message in message_pull('important') %} - {{ trans(message)|markdown }} + {{ trans(message) }} {% endfor %}
    {% endif %} @@ -14,7 +14,7 @@ × {% for message in message_pull('success') %} - {{ trans(message)|markdown }} + {{ trans(message) }} {% endfor %} {% endif %} @@ -26,7 +26,7 @@ × {% for message in message_pull('info') %} - {{ trans(message)|markdown }} + {{ trans(message) }} {% endfor %} {% endif %} @@ -38,7 +38,7 @@ × {% for message in message_pull('warning') %} - {{ trans(message)|markdown }} + {{ trans(message) }} {% endfor %} {% endif %} @@ -50,7 +50,7 @@ × {% for message in message_pull('error') %} - {{ trans(message)|markdown }} + {{ trans(message) }} {% endfor %} {% endif %} diff --git a/resources/views/partials/search-box.twig b/resources/views/partials/search-box.twig index 62be2ed..cf06c46 100644 --- a/resources/views/partials/search-box.twig +++ b/resources/views/partials/search-box.twig @@ -12,16 +12,6 @@ {{ trans(navigation.breadcrumb) }} - - {% set sections = getSections(navigation.slug) %} - {% for section in sections['main'] %} - - - - {{ trans(section.title) }} - ( {{ trans(navigation.breadcrumb) }} ) - - - {% endfor %} {% endfor %}