+
@@ -227,6 +232,18 @@
}
}
+ $('#toggle-menu').on('click', function (event) {
+ $('#nav_menu').toggle();
+ });
+ var windowsize = $(window).width();
+ $(window).resize(function (event) {
+ windowsize = $(window).width();
+ if (windowsize > 760) {
+ if ($('#nav_menu').is(":hidden")) {
+ $('#nav_menu').show();
+ }
+ }
+ });
});
-
-
-
+
- + +
+-
+ {% if module is defined and module != "lightbox" and app.getAuthenticator().isAuthenticated() %}
+
- + {{ 'admin::monitor: production' | trans }} - - +
- {% if app['browser'].isNewGeneration and app['conf'].get(['registry', 'modules', 'thesaurus']) == true and app.getAclForUser(app.getAuthenticatedUser()).has_access_to_module('thesaurus') %}
- -
-
+ {% if app['browser'].isNewGeneration and app['conf'].get(['registry', 'modules', 'thesaurus']) == true and app.getAclForUser(app.getAuthenticatedUser()).has_access_to_module('thesaurus') %}
+
- + {{ 'admin::monitor: module thesaurus' | trans }} - -
- {% endif %} + +
+ {% endif %}
- {# MODULE #}
- {% if app.getAclForUser(app.getAuthenticatedUser()).has_access_to_module('admin') %}
- -
-
+ {# MODULE #}
+ {% if app.getAclForUser(app.getAuthenticatedUser()).has_access_to_module('admin') %}
+
- + {{ 'admin::monitor: module admin' | trans }} - -
- {% endif %} + +
+ {% endif %}
- {# MODULE #}
- {% if app.getAclForUser(app.getAuthenticatedUser()).has_access_to_module('report') %}
- -
-
+ {# MODULE #}
+ {% if app.getAclForUser(app.getAuthenticatedUser()).has_access_to_module('report') %}
+
- + {{ 'admin::monitor: module report' | trans }} - -
- {% endif %} + +
+ {% endif %}
- {# MODULE #}
- -
-
+ {# MODULE #}
+
- + {{ 'admin::monitor: module validation' | trans }} - -
+ +
- {# MODULE #}
- {% if module is defined and module == "prod" %}
- {% if app.getAclForUser(app.getAuthenticatedUser()).has_access_to_module('upload') %}
- - - {% set link = path('upload_html5_form') %} + {# MODULE #} + {% if module is defined and module == "prod" %} + {% if app.getAclForUser(app.getAuthenticatedUser()).has_access_to_module('upload') %} +
- + {% set link = path('upload_html5_form') %} - {% if not app['browser'].supportFileAPI() %} - {% set link = path('upload_flash_form') %} - {% endif %} + {% if not app['browser'].supportFileAPI() %} + {% set link = path('upload_flash_form') %} + {% endif %} - + {{ 'admin::monitor: module upload' | trans }} - - - {% endif %} - {% endif %} + + + {% endif %} + {% endif %} - {# MODULE #} - {% if module == "prod" %} -
-
-
+ {# MODULE #}
+ {% if module == "prod" %}
+
- + {{ 'Publications' | trans }} - -
- {% endif %} + +
+ {% endif %}
- {% if module is defined and module == "prod" and app.getAclForUser(app.getAuthenticatedUser()).has_right(constant('\\ACL::ORDER_MASTER')) %}
- -
-
+ {% if module is defined and module == "prod" and app.getAclForUser(app.getAuthenticatedUser()).has_right(constant('\\ACL::ORDER_MASTER')) %}
+
- + {{ 'Commandes' | trans }} - -
- {% endif %} + +
+ {% endif %}
- {% endif %}
+ {% endif %}
+