mirror of
https://github.com/System-End/theseus.git
synced 2026-04-19 16:38:18 +00:00
make batch show a lil' better
This commit is contained in:
parent
a04605d666
commit
2f7d25f9de
2 changed files with 6 additions and 2 deletions
|
|
@ -13,7 +13,7 @@
|
|||
</div>
|
||||
<div class="text-sm mb-3">
|
||||
<span class="text-gray-500">Letters:</span>
|
||||
<%= @batch.addresses.count %>
|
||||
<%= @batch.letters.count %>
|
||||
</div>
|
||||
<% if @batch.user_facing_title.present? %>
|
||||
<div class="text-sm mb-3">
|
||||
|
|
@ -21,6 +21,10 @@
|
|||
<%= @batch.user_facing_title %>
|
||||
</div>
|
||||
<% end %>
|
||||
<div class="text-sm mb-3">
|
||||
<span class="text-gray-500">Total postage cost:</span>
|
||||
<%= @batch.postage_cost %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<div class="page-header">
|
||||
<h1 class="page-title">
|
||||
Letter Batch #<%= @batch.id %>
|
||||
<small>(<%= pluralize(@batch.addresses.count, 'letter') %>)</small>
|
||||
<small>(<%= pluralize(@batch.letters.count, 'letter') %>)</small>
|
||||
</h1>
|
||||
<div class="actions">
|
||||
<%= secondary_link_to "Back to batches", letter_batches_path do %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue