[openstreetmap/openstreetmap-website] Add locale selector (PR #5201)

David Tsiklauri notifications at github.com
Mon Oct 7 08:16:41 UTC 2024


@nertc commented on this pull request.



> @@ -78,6 +78,15 @@
           <li><%= link_to t("layouts.about"), about_path, :class => "dropdown-item" %></li>
         </ul>
       </li>
+      <li class="nav-item">
+        <% if current_user && current_user.id %>
+          <%= link_to(preferences_path, :class => "nav-link text-secondary ms-1") do %>

I updated it to be consistent for both situations.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5201#discussion_r1789743530
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5201/review/2351234413 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241007/4d0fae6d/attachment-0001.htm>


More information about the rails-dev mailing list