mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
More demo text [skip ci]
This commit is contained in:
@@ -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.',
|
||||
|
||||
|
||||
];
|
1
resources/views/demo/home.twig
Normal file
1
resources/views/demo/home.twig
Normal file
@@ -0,0 +1 @@
|
||||
{{ trans('demo.index', {asset: route('accounts.index', ['asset']), budgets: route('budgets.index'), reports: route('reports.index')})|raw }}
|
1
resources/views/demo/index.twig
Normal file
1
resources/views/demo/index.twig
Normal file
@@ -0,0 +1 @@
|
||||
{{ trans('demo.index', {asset: route('accounts.index', ['asset']), budgets: route('budgets.index'), reports: route('reports.index')})|raw }}
|
@@ -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 }}
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user