mandaye_vincennes: add offline_toolbar option
This commit is contained in:
parent
116257d7db
commit
4177277152
|
@ -136,6 +136,7 @@ use_long_trace = config.getboolean('debug', 'use_long_trace')
|
|||
auto_decompress = config.getboolean('mandaye', 'auto_decompress')
|
||||
# Ask mandaye to add a toolbar with Mandaye's links
|
||||
mandaye_toolbar = config.getboolean('mandaye', 'toolbar')
|
||||
mandaye_offline_toolbar = config.getboolean('mandaye', 'offline_toolbar')
|
||||
# Authentic 2 auto connection
|
||||
a2_auto_connection = config.getboolean('mandaye', 'a2_auto_connection')
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ sentry_dsn:
|
|||
|
||||
[mandaye]
|
||||
toolbar: true
|
||||
offline_toolbar: false
|
||||
a2_auto_connection: true
|
||||
; only sql at the moment
|
||||
storage_backend: sql
|
||||
|
@ -34,6 +35,8 @@ encrypt_secret:
|
|||
|
||||
[template_vars]
|
||||
wcs_url: https://demarches.vincennes.fr
|
||||
site_url: https://www.vincennes.fr
|
||||
idp_url: https://connexion.vincennes.fr/accounts
|
||||
|
||||
[session]
|
||||
; file, dbm, memory or memcached
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
<div class="mandaye_toolbar-left">
|
||||
<div class="mandaye_toolbar-logo">
|
||||
<a href="https://www.vincennes.fr/">
|
||||
<a href="${site_url}">
|
||||
<img src="${static_url}/images/logo-vincennes.png" alt="Vincennes.fr" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="mandaye_toolbar-cc">
|
||||
<a href="${wcs_url}">
|
||||
<a href="${idp_url}/accounts/">
|
||||
Compte citoyen
|
||||
</a>
|
||||
<a id="demarches" href="https://www.vincennes.fr/Vos-demarches">
|
||||
Démarches
|
||||
<a id="demarches" href="${wcs_url}">
|
||||
Démarches en ligne
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Reference in New Issue