[Replacements] Show the current uploader when pending

This commit is contained in:
Earlopain 2022-01-05 12:46:41 +01:00
parent bb032f605c
commit 81ebb110ce
No known key found for this signature in database
GPG Key ID: 6CFB948E15246897

View File

@ -81,6 +81,12 @@
<dt>Approver</dt>
<dd><%= link_to_user post_replacement.approver %></dd>
<% end %>
<% if post_replacement.status == 'pending' %>
<dt>Current Uploader</dt>
<dd>
<%= link_to_user post_replacement.post.uploader %>
</dd>
<% end %>
<dt>Replacer</dt>
<dd>
<%= compact_time post_replacement.created_at %>