Use "Deleted at/by" instead of "Edited at/by" for deletes
This commit is contained in:
parent
a9ff3bfc4b
commit
d4c8c3ad18
2 changed files with 12 additions and 2 deletions
|
@ -1,11 +1,19 @@
|
|||
<tr>
|
||||
<% if common_details.visible? %>
|
||||
<th><%= t 'browse.common_details.edited_at' %></th>
|
||||
<% else %>
|
||||
<th><%= t 'browse.common_details.deleted_at' %></th>
|
||||
<% end %>
|
||||
<td><%= l common_details.timestamp %></td>
|
||||
</tr>
|
||||
|
||||
<% if common_details.changeset.user.data_public? %>
|
||||
<tr>
|
||||
<% if common_details.visible? %>
|
||||
<th><%= t 'browse.common_details.edited_by' %></th>
|
||||
<% else %>
|
||||
<th><%= t 'browse.common_details.deleted_by' %></th>
|
||||
<% end %>
|
||||
<td><%= link_to h(common_details.changeset.user.display_name), :controller => "user", :action => "view", :display_name => common_details.changeset.user.display_name %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
|
|
@ -141,6 +141,8 @@ en:
|
|||
common_details:
|
||||
edited_at: "Edited at:"
|
||||
edited_by: "Edited by:"
|
||||
deleted_at: "Deleted at:"
|
||||
deleted_by: "Deleted by:"
|
||||
version: "Version:"
|
||||
in_changeset: "In changeset:"
|
||||
changeset_comment: "Comment:"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue