X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d1d4f8192da5a266cddb17bb8970b2b04387888c..732e1ab03a3b0f003dd8dc10e505d8d952fa18b9:/app/views/issues/show.html.erb?ds=inline diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 84c52d077..4de7a77c6 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -4,12 +4,12 @@
Issue type: <%= @issue.reportable_type %>
- <%= @issue.reports.count %> reports | First reported: <%= l @issue.created_at.to_date, :format => :long %> <%= "| Last resolved at #{l(@issue.resolved_at.to_datetime, :format =>:long)}" if @issue.resolved_at? %> + <%= @issue.reports.count %> reports | First reported: <%= l @issue.created_at.to_date, :format => :long %> <%= "| Last resolved at #{l(@issue.resolved_at.to_datetime, :format =>:long)}" if @issue.resolved_at? %> <%= "| Last updated at #{l(@issue.updated_at.to_datetime, :format => :long)} by #{@updated_by_admin.display_name}" if @updated_by_admin %>
-<%= link_to "Resolve", resolve_issue_url(@issue), :method => :post if @issue.may_resolve? %>
-<%= link_to "Ignore", ignore_issue_url(@issue), :method => :post if @issue.may_ignore? %>
-<%= link_to "Reopen", reopen_issue_url(@issue), :method => :post if @issue.may_reopen? %>
+<%= link_to t('issues.resolve'), resolve_issue_url(@issue), :method => :post if @issue.may_resolve? %>
+<%= link_to t('issues.ignore'), ignore_issue_url(@issue), :method => :post if @issue.may_ignore? %>
+<%= link_to t('issues.reopen'), reopen_issue_url(@issue), :method => :post if @issue.may_reopen? %>
<% end %>