From dabc278623d692dd8b2dbd64bddc10f9ac7dfbaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxence=20A=C3=AFci?= Date: Tue, 9 May 2023 22:49:24 +0000 Subject: [PATCH] Remove login button --- app/views/layouts/_navbar.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_navbar.html.erb b/app/views/layouts/_navbar.html.erb index f85198ef..e1034ea6 100644 --- a/app/views/layouts/_navbar.html.erb +++ b/app/views/layouts/_navbar.html.erb @@ -74,7 +74,7 @@ <%= link_to "Déconnexion", destroy_partner_session_path, method: :delete, class: "dropdown-item" %> - <% else %> + <% elsif !ENV["STATIC_SITE_GEN"] %>
  • "> <%= link_to "", class: "nav-link dropdown-toggle btn btn-primary font-weight-bold#{@page_pro ? " text-white" : ""}", id: "dropdown11", "aria-expanded": "false", "aria-haspopup": "true", "data-toggle": "dropdown" do %> Se connecter