about summary refs log tree commit diff
path: root/app/views/about/show.html.haml
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-03-03 16:14:44 +0100
committerGitHub <noreply@github.com>2022-03-03 16:14:44 +0100
commit6d3fa7828ea3cddc267f19634d7bc5d917e62be8 (patch)
tree955dd8c4eb4b441756780f54892505326dae1728 /app/views/about/show.html.haml
parentff43e54a495461eb1a539a1887125190b74754f5 (diff)
Redesign /about when already logged in (#17348)
* Redesign /about when already logged in

* Fix sign up form still showing when OMNIAUTH_ONLY is set

* Fix tests

* Change wording based on suggestions

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Diffstat (limited to 'app/views/about/show.html.haml')
-rw-r--r--app/views/about/show.html.haml5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml
index 6ae9e6ae0..321440096 100644
--- a/app/views/about/show.html.haml
+++ b/app/views/about/show.html.haml
@@ -46,7 +46,10 @@
 
     .landing__grid__column.landing__grid__column-login
       .box-widget
-        = render 'login'
+        - if current_user.present?
+          = render 'logged_in'
+        - else
+          = render 'login'
 
       .hero-widget
         .hero-widget__img