From b9d142c2b7829fd61bb2ec37ffe279c5806797fc Mon Sep 17 00:00:00 2001 From: James Cole Date: Tue, 27 Dec 2016 09:56:30 +0100 Subject: [PATCH] Small view updates [skip ci] --- resources/lang/en_US/firefly.php | 2 ++ resources/views/accounts/show.twig | 6 +++--- resources/views/categories/show.twig | 8 ++++---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php index 1fb53a93b5..a6fdc22900 100644 --- a/resources/lang/en_US/firefly.php +++ b/resources/lang/en_US/firefly.php @@ -99,6 +99,8 @@ return [ 'cannot_change_demo' => 'You cannot change the password of the demonstration account.', 'cannot_delete_demo' => 'You cannot remove the demonstration account.', 'cannot_reset_demo_user' => 'You cannot reset the password of the demonstration account', + 'per_period' => 'Per period', + 'all_periods' => 'All periods', // repeat frequencies: 'repeat_freq_yearly' => 'yearly', diff --git a/resources/views/accounts/show.twig b/resources/views/accounts/show.twig index 37f19e9639..b52ca7227a 100644 --- a/resources/views/accounts/show.twig +++ b/resources/views/accounts/show.twig @@ -37,7 +37,7 @@
- +
@@ -49,7 +49,7 @@
- +
@@ -61,7 +61,7 @@
- +
diff --git a/resources/views/categories/show.twig b/resources/views/categories/show.twig index 92e130e683..31ecbdd26c 100644 --- a/resources/views/categories/show.twig +++ b/resources/views/categories/show.twig @@ -9,7 +9,7 @@
-

{{ 'overview'|_ }} ({{ 'month'|_ }})

+

{{ 'overview'|_ }} ({{ 'per_period'|_|lower }})

@@ -19,7 +19,7 @@
-

{{ 'overview'|_ }} ({{ 'all'|_ }})

+

{{ 'overview'|_ }} ({{ 'all_periods'|_|lower }})

@@ -28,7 +28,7 @@
-
+
@@ -39,7 +39,7 @@
-
+
{% for entry in entries %} {% if entry[2] != 0 or entry[3] != 0 %}