mirror of
https://github.com/we-promise/sure.git
synced 2026-04-13 00:57:22 +00:00
Extend privacy mode coverage to remaining financial views Transfers, trades, valuations, and holdings detail views were missing the privacy-sensitive class, leaving amounts visible when privacy mode was enabled. Also adds blur to the summary card partial (used by credit cards, loans, etc.), account chart balances, and time series chart containers (dashboard net worth and per-account charts).
24 lines
576 B
Plaintext
24 lines
576 B
Plaintext
<%# locals: (entry:) %>
|
|
|
|
<%= tag.header class: "mb-4 space-y-1", id: dom_id(entry, :header) do %>
|
|
<span class="text-secondary text-sm">
|
|
<%= entry.name %>
|
|
</span>
|
|
|
|
<div class="flex items-center gap-4">
|
|
<h3 class="font-medium">
|
|
<span class="text-2xl text-primary privacy-sensitive">
|
|
<%= format_money entry.amount_money %>
|
|
</span>
|
|
|
|
<span class="text-lg text-secondary">
|
|
<%= entry.currency %>
|
|
</span>
|
|
</h3>
|
|
</div>
|
|
|
|
<span class="text-sm text-secondary">
|
|
<%= I18n.l(entry.date, format: :long) %>
|
|
</span>
|
|
<% end %>
|