Commit c61aed92 by Julien Jorry

Fix menu bug if no USE_PAYZEN config

parent 736d2873
......@@ -8,7 +8,7 @@
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
{% if app.user is null and (KOH_USE_PAYZEN == 'true' or KOH_USE_HELLOASSO == 'true') %}
{% if app.user is null and ((KOH_USE_WORDPRESS is defined and KOH_USE_PAYZEN == 'true') or (KOH_USE_HELLOASSO is defined and KOH_USE_HELLOASSO == 'true')) %}
<li class="nav-item dropdownmenu-item has-child dropdown" role="menuitem">
<a href="#" id="navbarDropdown1" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="nav-link parent dropdown-toggle ">{{ 'Adhérer'|trans }}</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment