From 0833c4a1c03a214d8398d2f813c85ab7dfe2cfba Mon Sep 17 00:00:00 2001 From: Ruben Carlo Benante Date: Tue, 7 Jul 2026 17:11:08 -0300 Subject: [PATCH] FinanceBuddy: keep signed amounts on one line, relabel column total (v0.4.1) --- Asset/css/finance.css | 6 ++++++ Plugin.php | 2 +- Template/board/column_total.php | 2 +- VERSION | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Asset/css/finance.css b/Asset/css/finance.css index d2dc4e7..a25fe43 100644 --- a/Asset/css/finance.css +++ b/Asset/css/finance.css @@ -13,6 +13,11 @@ border-radius: 3px; } +/* Keep the signed amount together ("-R$450,00"); a break before it (after "Total:") is fine. */ +.fb-amount { + white-space: nowrap; +} + .fb-total-debit { color: #b94a48; } @@ -38,6 +43,7 @@ color: #fff; font-weight: bold; font-size: 1.1em; + white-space: nowrap; } .fb-badge-debit { diff --git a/Plugin.php b/Plugin.php index 0f372ca..8bc94cf 100644 --- a/Plugin.php +++ b/Plugin.php @@ -62,7 +62,7 @@ class Plugin extends Base public function getPluginVersion() { - return '0.4.0'; + return '0.4.1'; } public function getPluginHomepage() diff --git a/Template/board/column_total.php b/Template/board/column_total.php index 68b5416..57abde3 100644 --- a/Template/board/column_total.php +++ b/Template/board/column_total.php @@ -20,5 +20,5 @@ if ($net > 0) { } ?>
- R$ + : R$
diff --git a/VERSION b/VERSION index 4f55b7c..2a717f2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -FinanceBuddy v0.4 +FinanceBuddy v0.4.1