X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d14cf519fd876274900758a903e7e390d38922d5..87ea9fcb021b9b67a79d35cb719a064a34a7784d:/app/views/messages/inbox.html.erb diff --git a/app/views/messages/inbox.html.erb b/app/views/messages/inbox.html.erb index 56ed53c6d..4f2925b14 100644 --- a/app/views/messages/inbox.html.erb +++ b/app/views/messages/inbox.html.erb @@ -1,16 +1,30 @@ +<% content_for :head do %> + <%= javascript_include_tag "messages" %> +<% end %> + +<% content_for :heading_class, "pb-0" %> + <% content_for :heading do %> -

<%= t '.my_inbox'%>/<%= link_to t('.outbox'), outbox_path(current_user.display_name) %>

+

<%= t("users.show.my messages") %>

+ <% end %>

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

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