X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/783b5e3729228908d7404ae7404af1023501a906..19854d936dc3a60cbc439b18251bae5ec58ee7b5:/app/views/messages/inbox.html.erb diff --git a/app/views/messages/inbox.html.erb b/app/views/messages/inbox.html.erb index 40bb8e8a3..4f2925b14 100644 --- a/app/views/messages/inbox.html.erb +++ b/app/views/messages/inbox.html.erb @@ -2,14 +2,24 @@ <%= 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") %>

+ <% end %>

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

<% if current_user.messages.size > 0 %> - +
@@ -24,5 +34,5 @@
<%= t ".from" %>
<% 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 %>