Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
More demo text [skip ci]
James Cole844ab608d4a2
diff --git a/resources/lang/en_US/demo.php b/resources/lang/en_US/demo.phpindex 4cb4c2caec..ed6ae7e543 100644--- a/resources/lang/en_US/demo.php+++ b/resources/lang/en_US/demo.php@@ -8,7 +8,9 @@*/return [- 'no_demo_text' => 'Sorry, there is no extra demo-explanation text for <abbr title="page: {{ Route.getCurrentRoute.getName }}">this page</abbr>.',+ 'no_demo_text' => 'Sorry, there is no extra demo-explanation text for <abbr title=":route">this page</abbr>.','see_help_icon' => 'However, the <i class="fa fa-question-circle"></i>-icon in the top right corner may tell you more.',+ 'index' => 'Welcome to <strong>Firefly III</strong>! On this page you get a quick overview of your finances. For more information, check out Accounts → <a href=":asset">Asset Accounts</a> and of course the <a href=":budgets">Budgets</a> and <a href=":reports">Reports</a> pages. Or just take a look around and see where you end up.',+];\ No newline at end of filediff --git a/resources/views/demo/home.twig b/resources/views/demo/home.twignew file mode 100644index 0000000000..84f855689a--- /dev/null+++ b/resources/views/demo/home.twig@@ -0,0 +1 @@+{{ trans('demo.index', {asset: route('accounts.index', ['asset']), budgets: route('budgets.index'), reports: route('reports.index')})|raw }}\ No newline at end of filediff --git a/resources/views/demo/index.twig b/resources/views/demo/index.twignew file mode 100644index 0000000000..84f855689a--- /dev/null+++ b/resources/views/demo/index.twig@@ -0,0 +1 @@+{{ trans('demo.index', {asset: route('accounts.index', ['asset']), budgets: route('budgets.index'), reports: route('reports.index')})|raw }}\ No newline at end of filediff --git a/resources/views/demo/no-demo-text.twig b/resources/views/demo/no-demo-text.twigindex 12c5ad1a64..1e7116dc6b 100644--- a/resources/views/demo/no-demo-text.twig+++ b/resources/views/demo/no-demo-text.twig@@ -1,3 +1,3 @@-{{ trans('demo.no_demo_text')|raw }}+{{ trans('demo.no_demo_text', {route: Route.getCurrentRoute.getName})|raw }}{{ trans('demo.see_help_icon')|raw }}diff --git a/resources/views/layout/default.twig b/resources/views/layout/default.twigindex 670580a85a..58c2d5c7e6 100644--- a/resources/views/layout/default.twig+++ b/resources/views/layout/default.twig@@ -120,7 +120,7 @@<div class="row"><div class="col-lg-12"><p class="well">- {% include ['demo.no-demo-text', 'demo.' ~ Route.getCurrentRoute.getName] %}+ {% include ['demo.' ~ Route.getCurrentRoute.getName, 'demo.no-demo-text'] %}</p></div></div>