2020-07-09 11:06:17 +02:00
|
|
|
<% if preview %>
|
|
|
|
|
<h1>PREVIEW ONLY</h1>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<p class="heading"><strong><u><%= t '.heading' %></u></strong></p>
|
|
|
|
|
|
|
|
|
|
<dl>
|
|
|
|
|
<%= description_list_pair t('.description_labels.producer'), releasable.project.account.name %>
|
|
|
|
|
<%= description_list_pair t('.description_labels.production'), releasable.project.name %>
|
2020-07-16 17:27:57 +02:00
|
|
|
<%= description_list_pair t('.description_labels.issued_to'), releasable.name %>
|
2020-07-09 11:06:17 +02:00
|
|
|
<%= description_list_pair t('.description_labels.issued_by'), releasable.approved_by_user_name %>
|
|
|
|
|
<%= description_list_pair t('.description_labels.date_issued'), releasable.approved_at %>
|
2020-08-24 15:52:23 +02:00
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<% if preview %>
|
|
|
|
|
<%= image_tag dummy_signature %>
|
|
|
|
|
<% elsif releasable.approved_by_user_signature.attached? %>
|
|
|
|
|
<%= image_tag releasable.approved_by_user_signature.variant(auto_orient: true, resize: "200x200") %>
|
|
|
|
|
<% end %>
|