From bd3c0dd59f9034688d3ab70ff2317d4b910e9513 Mon Sep 17 00:00:00 2001 From: Dan Ungureanu Date: Thu, 30 Jul 2020 12:34:34 +0300 Subject: [PATCH] FEATURE: Show login button on error page if user is not logged in --- app/views/exceptions/not_found.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/exceptions/not_found.html.erb b/app/views/exceptions/not_found.html.erb index 873a79cc3b9..6975dbfe725 100644 --- a/app/views/exceptions/not_found.html.erb +++ b/app/views/exceptions/not_found.html.erb @@ -1,7 +1,7 @@

<%= @title %>

- <%- if (@group&.allow_membership_requests || @group&.public_admission) && !current_user %> + <%- if !current_user %> " class='btn btn-primary'><%= SvgSprite.raw_svg('fa-user') %><%= I18n.t('log_in') %> <%- end %>