From: Michal Migurski Date: Sat, 27 Feb 2021 04:32:48 +0000 (-0800) Subject: Replaced H2 messages header links with Bootstrap nav links X-Git-Tag: live~2686^2~4 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/d28ab8d3f2bac8910426cada0b3e2c602e48f3cc?ds=sidebyside;hp=-c Replaced H2 messages header links with Bootstrap nav links Following suggestion from https://github.com/openstreetmap/openstreetmap-website/issues/2962#issuecomment-768985393 --- d28ab8d3f2bac8910426cada0b3e2c602e48f3cc diff --git a/app/views/messages/inbox.html.erb b/app/views/messages/inbox.html.erb index 0fb5107ce..fb3517609 100644 --- a/app/views/messages/inbox.html.erb +++ b/app/views/messages/inbox.html.erb @@ -3,7 +3,14 @@ <% end %> <% content_for :heading do %> -

<%= t ".my_inbox" %>/<%= link_to t(".outbox"), outbox_messages_path %>

+ <% end %>

<%= render :partial => "message_count" %>

diff --git a/app/views/messages/outbox.html.erb b/app/views/messages/outbox.html.erb index 5ae9706b7..e61f85875 100644 --- a/app/views/messages/outbox.html.erb +++ b/app/views/messages/outbox.html.erb @@ -3,7 +3,14 @@ <% end %> <% content_for :heading do %> -

<%= t(".my_inbox_html", :inbox_link => link_to(t(".inbox"), inbox_messages_path)) %>/<%= t ".outbox" %>

+ <% end %>

<%= t ".messages", :count => current_user.sent_messages.size %>