Commit acbaa34a by Damien Moulard

remove adhesion

parent d1437332
......@@ -42,6 +42,10 @@ class AdhesionController extends AbstractController
*/
public function adhererAction(Request $request)
{
if ($this->getParameter('tav_env') == true) {
return $this->redirect($this->router->generate('index'));
}
$adherent = new Adherent();
$form = $this->createForm(AdhererFormType::class, $adherent);
......
......@@ -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_WORDPRESS is defined and KOH_USE_PAYZEN == 'true') or (KOH_USE_HELLOASSO is defined and 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')) and not tav_env %}
<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