Remove string interpolation from issue heading
This commit is contained in:
parent
948c1cdfb7
commit
f1cdcc4f9f
1 changed files with 11 additions and 3 deletions
|
@ -9,9 +9,17 @@
|
||||||
<% else %>
|
<% else %>
|
||||||
| <%= t ".no_reports" %>
|
| <%= t ".no_reports" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
| <%= t ".report_created_at", :datetime => l(@issue.created_at.to_datetime, :format => :friendly) %>
|
| <%= t ".report_created_at",
|
||||||
<%= " | #{t('.last_resolved_at', :datetime => l(@issue.resolved_at.to_datetime, :format => :friendly))}" if @issue.resolved_at? %>
|
:datetime => l(@issue.created_at.to_datetime, :format => :friendly) %>
|
||||||
<%= " | #{t('.last_updated_at', :datetime => l(@issue.updated_at.to_datetime, :format => :friendly), :displayname => @issue.user_updated.display_name)}" if @issue.user_updated %>
|
<% if @issue.resolved_at? %>
|
||||||
|
| <%= t ".last_resolved_at",
|
||||||
|
:datetime => l(@issue.resolved_at.to_datetime, :format => :friendly) %>
|
||||||
|
<% end %>
|
||||||
|
<% if @issue.user_updated %>
|
||||||
|
| <%= t ".last_updated_at",
|
||||||
|
:datetime => l(@issue.updated_at.to_datetime, :format => :friendly),
|
||||||
|
:displayname => @issue.user_updated.display_name %>
|
||||||
|
<% end %>
|
||||||
</small>
|
</small>
|
||||||
</p>
|
</p>
|
||||||
<nav class="secondary-actions">
|
<nav class="secondary-actions">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue