X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/71cb2c50fcaf29e2b933fc981e40a00223d94d34..edda4af515cfb0bd4de1ed0650b47e124bfad6ed:/app/views/issues/show.html.erb diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index e2099f8e6..74e7c0a4c 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -1,7 +1,7 @@ <% content_for :heading do %> -

<%= t ".title", :status => @issue.status.humanize, :issue_id => @issue.id %>

+

<%= @title %>

<%= @issue.reportable.model_name.human %> : <%= link_to reportable_title(@issue.reportable), reportable_url(@issue.reportable) %>

-

+

<%= @issue.assigned_role %> <% if @issue.reports.count > 0 %> @@ -21,7 +21,7 @@ | <%= t ".last_updated_at_html", :datetime => tag.time(l(@issue.updated_at.to_datetime, :format => :friendly), :datetime => @issue.updated_at.xmlschema), - :displayname => link_to(@issue.user_updated.display_name, user_path(@issue.user_updated)) %> + :displayname => link_to(@issue.user_updated.display_name, @issue.user_updated) %> <% end %>

@@ -45,7 +45,7 @@

<%= t ".reports_of_this_issue" %>

<% if @read_reports.present? %> -
+

<%= t ".read_reports" %>

<%= render "reports", :reports => @read_reports %>