Browse Source

Ajuste no menu do sistema

revisaoSidenav
Sesostris Vieira 3 years ago
parent
commit
e747b4abaf
  1. 2
      sigi/apps/home/templates/menus/menu.html
  2. 2
      sigi/settings/menu_conf.yaml

2
sigi/apps/home/templates/menus/menu.html

@ -10,7 +10,7 @@
{% for child in menu.children %}
{% if child.view_name %}
{% url child.view_name as item_url %}
<div{% if item_url in request.path and child.querystr in request.get_full_path %} class="active"{% endif %}>
<div{% if item_url in request.path and child.querystr == None or child.querystr in request.get_full_path %} class="active"{% endif %}>
<a href="{{ item_url }}{% if child.querystr %}?{{ child.querystr }}{% endif %}">{{ child.title }}</a>
</div>
{% else %}

2
sigi/settings/menu_conf.yaml

@ -37,8 +37,6 @@ main_menu:
children:
- title: Convênios
view_name: admin:convenios_convenio_changelist
- title: Planos diretores
view_name: admin:metas_planodiretor_changelist
- title: Serviços SEIT
icon: cloud_done
children:

Loading…
Cancel
Save