[openstreetmap/openstreetmap-website] Re-arrange login and signup screens as discussed in #4128 (PR #4455)
Milan Cvetkovic
notifications at github.com
Fri Mar 15 13:59:10 UTC 2024
@milan-cvetkovic commented on this pull request.
> @@ -104,7 +104,7 @@
<%= link_to t("layouts.logout"), logout_path(:referer => request.fullpath), :method => "post", :class => "geolink dropdown-item" %>
</div>
</div>
- <% else %>
+ <% elsif controller_name != "users" and controller_name != "sessions" %>
Good catch, thanks.
I will modify the condition to target only `new` action in sessions_controller and users_controller. Hopefully that covers it. Otherwise, I would revert the modifications to _hedaer.html.erb, and address the "noisy" Login/Signup buttons from the header in a separate PR.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4455#discussion_r1526332119
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4455/review/1939028890 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240315/b3facadd/attachment.htm>
More information about the rails-dev
mailing list