X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/00bd64c7fb86d598eb9406e39f99fc711f58bf9b..9b36021ec5eabeca8db735cf80c5876d2d31338d:/app/views/messages/outbox.html.erb diff --git a/app/views/messages/outbox.html.erb b/app/views/messages/outbox.html.erb index 38639cd99..199cfdc49 100644 --- a/app/views/messages/outbox.html.erb +++ b/app/views/messages/outbox.html.erb @@ -1,5 +1,9 @@ +<% content_for :head do %> + <%= javascript_include_tag "messages" %> +<% end %> + <% content_for :heading do %> -

<%= raw(t '.my_inbox', :inbox_link => link_to(t('.inbox'), inbox_path(current_user.display_name))) %>/<%= t'.outbox' %>

+

<%= raw(t '.my_inbox', :inbox_link => link_to(t('.inbox'), inbox_messages_path)) %>/<%= t'.outbox' %>

<% end %>

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