[openstreetmap/openstreetmap-website] Add links to diaries in preferred languages (PR #4451)
Anton Khorev
notifications at github.com
Wed Jan 3 10:31:04 UTC 2024
@AntonKhorev commented on this pull request.
>
- <% if @user && @user == current_user || !@user && current_user %>
- <li><%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %></li>
- <% end %>
+ <% @languages&.each do |language| %>
What I originally wanted to do is to move the "New Diary Entry" to the end, but I decided not to do it in the same pull request.
I moved it now:

--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4451#discussion_r1440296541
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4451/review/1801742574 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240103/a1a1f124/attachment.htm>
More information about the rails-dev
mailing list