X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7406ae5dcc9cbb177a8ea33085af9caf6e3ebb1b..7e7ede890e8e948236d3dbc48e24aca00cd01f62:/app/views/issues/show.html.erb?ds=sidebyside 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 %>