X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/00bd64c7fb86d598eb9406e39f99fc711f58bf9b..a2ad08b2e213cfd56676bc8251147f25aef63984:/app/views/messages/inbox.html.erb
diff --git a/app/views/messages/inbox.html.erb b/app/views/messages/inbox.html.erb
index 56ed53c6d..40bb8e8a3 100644
--- a/app/views/messages/inbox.html.erb
+++ b/app/views/messages/inbox.html.erb
@@ -1,5 +1,9 @@
+<% content_for :head do %>
+ <%= javascript_include_tag "messages" %>
+<% end %>
+
<% content_for :heading do %>
-
<%= t '.my_inbox'%>/<%= link_to t('.outbox'), outbox_path(current_user.display_name) %>
+ <%= t ".my_inbox" %>/<%= link_to t(".outbox"), outbox_messages_path %>
<% end %>
<%= render :partial => "message_count" %>
@@ -8,9 +12,9 @@
- <%= t '.from' %> |
- <%= t '.subject' %> |
- <%= t '.date' %> |
+ <%= t ".from" %> |
+ <%= t ".subject" %> |
+ <%= t ".date" %> |
|
|
@@ -20,5 +24,5 @@
<% else %>
- <%= raw(t '.no_messages_yet', :people_mapping_nearby_link => link_to(t('.people_mapping_nearby'), user_path(current_user))) %>
+ <%= raw(t(".no_messages_yet", :people_mapping_nearby_link => link_to(t(".people_mapping_nearby"), user_path(current_user)))) %>
<% end %>