Shape tx details UI a bit
This commit is contained in:
parent
67a9fc02d7
commit
f1ae5667de
@ -27,7 +27,7 @@
|
|||||||
<p class="col-span-2 md:col-span-1 mb-0 text-right">
|
<p class="col-span-2 md:col-span-1 mb-0 text-right">
|
||||||
<span class="text-xl font-mono <%= tx["received"] ? "text-emerald-600" : "" %>">
|
<span class="text-xl font-mono <%= tx["received"] ? "text-emerald-600" : "" %>">
|
||||||
<%= tx["received"] ? "+" : "" %><%= number_with_delimiter tx["amount_sats"] %>
|
<%= tx["received"] ? "+" : "" %><%= number_with_delimiter tx["amount_sats"] %>
|
||||||
<span class="hidden md:inline">sats</span>
|
<span class="text-base md:text-lg">sats</span>
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="col-span-4 md:col-span-3 mb-0 text-gray-500">
|
<p class="col-span-4 md:col-span-3 mb-0 text-gray-500">
|
||||||
@ -36,7 +36,9 @@
|
|||||||
<p class="col-span-4 md:col-span-1 md:text-right mb-0">
|
<p class="col-span-4 md:col-span-1 md:text-right mb-0">
|
||||||
<span class="col-span-2 md:col-span-1 text-sm text-gray-500">
|
<span class="col-span-2 md:col-span-1 text-sm text-gray-500">
|
||||||
<%= tx["datetime"].strftime("%B %e, %H:%M") -%>
|
<%= tx["datetime"].strftime("%B %e, %H:%M") -%>
|
||||||
<% if tx["fee"] && (tx["fee"] > 0) %>, Fee: <%= tx["fee"] %> sats<% end %>
|
<% if tx["fee"] && (tx["fee"] > 0) %>
|
||||||
|
~ Fee: <%= pluralize tx["fee"], "sat" %>
|
||||||
|
<% end %>
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user