From: Andy Allan Date: Wed, 14 Mar 2018 04:21:52 +0000 (+0800) Subject: Combine category and reporting user X-Git-Tag: live~3562^2~35 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/e44f856b53fcba5b44af37126579a034ef654676 Combine category and reporting user --- diff --git a/app/views/issues/_reports.html.erb b/app/views/issues/_reports.html.erb index 5303ae0c5..01c34efe1 100644 --- a/app/views/issues/_reports.html.erb +++ b/app/views/issues/_reports.html.erb @@ -3,15 +3,11 @@
<%= link_to user_thumbnail(report.user), :controller => :user, :action =>:view, :display_name => report.user.display_name %>
- <%= t(".reported_by_html", :user_name => report.user.display_name, :user_url => url_for(:controller => :user, :action => :view, :display_name => report.user.display_name)) %>
+ <%= t(".reported_by_html", :category => report.category, :user_name => report.user.display_name, :user_url => url_for(:controller => :user, :action => :view, :display_name => report.user.display_name)) %>
<%= t(".updated_at", :datetime => l(report.updated_at.to_datetime, :format => :friendly)) %>
- - <%= t ".category", category: report.category %> - -
<%= report.details %>
diff --git a/config/locales/en.yml b/config/locales/en.yml index 297bebbcf..c508f8e55 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1026,9 +1026,8 @@ en: comments: created_at: "On %{datetime}" reports: - category: "Category: %{category}" updated_at: "On %{datetime}" - reported_by_html: "Reported by %{user_name}" + reported_by_html: "Reported as %{category} by %{user_name}" resolved: Issue status has been set to 'Resolved' ignored: Issue status has been set to 'Ignored' reopened: Issue status has been set to 'Open'