regroupement pages groupes si trop nombreux (ref #98)

This commit is contained in:
afornerot 2020-02-28 15:43:48 +01:00
parent 7058bb04e0
commit a665529924
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ INSERT IGNORE INTO `niveau01` (`id`, `label`, `siren`) VALUES
(-100, 'DRAAF', '130007107'); (-100, 'DRAAF', '130007107');
INSERT IGNORE INTO `user` (`id`, `niveau01_id`, `username`, `firstname`, `lastname`, `password`, `email`, `avatar`, `role`,`siren`,`authlevel`) VALUES INSERT IGNORE INTO `user` (`id`, `niveau01_id`, `username`, `firstname`, `lastname`, `password`, `email`, `avatar`, `role`,`siren`,`authlevel`) VALUES
(-100, -100, 'admin', 'Administrateur', 'draaf', '{SSHA}2oV9M1Ofw14hGll+W1oPHxR7E2SZvzFz (-100, -100, 'admin', 'Administrateur', 'draaf', '{SSHA}DaOp1rZbdNu4Njbw+JpKmuufVKXN9s/5
', 'admin@ldapbundle.ac-arno.fr', 'admin.jpg', 'ROLE_ADMIN', '130007107', 'simple'); ', 'admin@ldapbundle.ac-arno.fr', 'admin.jpg', 'ROLE_ADMIN', '130007107', 'simple');

View File

@ -40,7 +40,7 @@
<!-- On regroupe l'ensemble des pages si plus de 10 groupes --> <!-- On regroupe l'ensemble des pages si plus de 10 groupes -->
{% set submenu="" %} {% set submenu="" %}
{% if groupsshared|length >= 8 %} {% if groupsshared|length > 5 %}
{% set submenu="-submenu" %} {% set submenu="-submenu" %}
<ul id="pagesshared" class="nav navbar-top-links navbar-left"> <ul id="pagesshared" class="nav navbar-top-links navbar-left">
<li class="dropdown"> <li class="dropdown">