X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/bf11e06e635ecb86e31f60c9dfc0e575c8f2a937..d8e51614cb04da1f61ec403af49d249209c1f7f9:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index fb186e55e..29c5ca3e1 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -71,6 +71,21 @@ <% end %> <% if current_user && current_user != @note.author %> -

<%= t "javascripts.notes.show.report_link_html", :link => report_link(t(".report"), @note) %>

+

+ + <%= t "javascripts.notes.show.report_link_html", :link => report_link(t(".report"), @note) %> + <% if @note.status == "open" %> + <%= t "javascripts.notes.show.other_problems_resolve", :link => report_link(t(".report"), @note) %> + <% elsif @note.status == "closed" %> + <%= t "javascripts.notes.show.other_problems_resolved" %> + <% end %> + +

+ <% end %> + + <% if @note.freshly_closed? %> + + <%= t "javascripts.notes.show.disappear_date_html", :disappear_in => disappear_in(@note) %> + <% end %>