]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/show.html.erb
Show issues based on all the users roles
[rails.git] / app / views / issues / show.html.erb
index e9d68d27cefca0c7dbb99d5a23f6666988c139bf..5ce3bf168d82b714bb7d176d24209a8919e9df91 100644 (file)
@@ -3,7 +3,11 @@
 <p><%= report_type(@issue.reportable_type) %> : <%= reportable_url(@issue.reportable) %></p>
 <p class="deemphasize">
   <small>
-    <%= @issue.reports.count %> reports | First reported: <%= l @issue.created_at.to_datetime, :format => :friendly %>  <%= "| Last resolved at #{l(@issue.resolved_at.to_datetime, :format =>:friendly)}" if @issue.resolved_at? %> <%= "| Last updated at #{l(@issue.updated_at.to_datetime, :format => :friendly)} by #{@issue.user_updated.display_name}" if @issue.user_updated %>
+    <%= @issue.assigned_role %>
+    | <%= @issue.reports.count %> reports
+    | First reported: <%= l @issue.created_at.to_datetime, :format => :friendly %>
+    <%= "| Last resolved at #{l(@issue.resolved_at.to_datetime, :format =>:friendly)}" if @issue.resolved_at? %>
+    <%= "| Last updated at #{l(@issue.updated_at.to_datetime, :format => :friendly)} by #{@issue.user_updated.display_name}" if @issue.user_updated %>
   </small>
 </p>
 <p>