From 28eb54dc967c4c413d5c58f5e705845561387c4b Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 28 Oct 2016 19:01:52 +0200 Subject: [PATCH] Initial split for report options. --- resources/lang/en_US/firefly.php | 7 +++-- resources/views/reports/index.twig | 46 +++++++++++++++++++++--------- 2 files changed, 38 insertions(+), 15 deletions(-) diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php index 186fe8a8ea..961567281a 100644 --- a/resources/lang/en_US/firefly.php +++ b/resources/lang/en_US/firefly.php @@ -604,8 +604,8 @@ return [ 'in' => 'In', 'out' => 'Out', 'topX' => 'top :number', - 'show_full_list' => 'Show entire list', - 'show_only_top' => 'Show only top :number', + 'show_full_list' => 'Show entire list', + 'show_only_top' => 'Show only top :number', 'sum_of_year' => 'Sum of year', 'sum_of_years' => 'Sum of years', 'average_of_year' => 'Average of year', @@ -630,6 +630,9 @@ return [ 'balance_amount' => 'Expenses in budget ":budget" paid from account ":account" between :start and :end', 'no_audit_activity' => 'No activity was recorded on account :account_name between :start and :end.', 'audit_end_balance' => 'Account balance of :account_name at the end of :end was: :balance', + 'reports_extra_options' => 'Extra options', + 'report_has_no_extra_options' => 'This report has no extra options', + 'reports_submit' => 'View report', // charts: 'chart' => 'Chart', diff --git a/resources/views/reports/index.twig b/resources/views/reports/index.twig index 62ef34f336..c895ca4a9c 100644 --- a/resources/views/reports/index.twig +++ b/resources/views/reports/index.twig @@ -5,17 +5,19 @@ {% endblock %} {% block content %} +
-
-
-
-

{{ 'reports'|_ }}

-
-
-

- {{ 'more_info_help'|_ }} -

-
+ +
+
+
+

{{ 'reports'|_ }}

+
+
+

+ {{ 'more_info_help'|_ }} +

+
@@ -81,16 +83,34 @@
+
+
+
+
+

{{ 'reports_extra_options'|_ }}

+
+
+

+ {{ 'report_has_no_extra_options'|_ }} +

+
+
+ +
+
+

{{ 'reports_submit'|_ }}

+
+
- - +
-
+ +