X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d5f02968f6f2dd153c74844e818a4d2b2ae24991..cf4cfc530ae54abee7b6a0dccbc9d4603ab35611:/app/views/issues/show.html.erb diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 51498484d..1f57c454e 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -7,9 +7,9 @@ <%= @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? %>

-

<%= 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 %>