X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4df0fe72e28246f81573b98fbf30f13fee16a6b6..9ab15f38ea72ccd0a6b6715a9b8014c1f4ce1ad8:/app/views/messages/inbox.html.erb?ds=sidebyside
diff --git a/app/views/messages/inbox.html.erb b/app/views/messages/inbox.html.erb
index 03e01915e..4f2925b14 100644
--- a/app/views/messages/inbox.html.erb
+++ b/app/views/messages/inbox.html.erb
@@ -2,19 +2,29 @@
<%= javascript_include_tag "messages" %>
<% end %>
+<% content_for :heading_class, "pb-0" %>
+
<% content_for :heading do %>
-
<%= t '.my_inbox'%>/<%= link_to t('.outbox'), outbox_messages_path %>
+ <%= t("users.show.my messages") %>
+
+ -
+ <%= t ".my_inbox" %>
+
+ -
+ <%= link_to t(".my_outbox"), outbox_messages_path, :class => "nav-link" %>
+
+
<% end %>
<%= render :partial => "message_count" %>
<% if current_user.messages.size > 0 %>
-
+
- <%= t '.from' %> |
- <%= t '.subject' %> |
- <%= t '.date' %> |
+ <%= t ".from" %> |
+ <%= t ".subject" %> |
+ <%= t ".date" %> |
|
|
@@ -24,5 +34,5 @@
<% else %>
- <%= raw(t '.no_messages_yet', :people_mapping_nearby_link => link_to(t('.people_mapping_nearby'), user_path(current_user))) %>
+ <%= t(".no_messages_yet_html", :people_mapping_nearby_link => link_to(t(".people_mapping_nearby"), user_path(current_user))) %>
<% end %>