More demo text [skip ci]

This commit is contained in:
James Cole
2016-12-26 10:23:47 +01:00
parent 94e264b6ce
commit 844ab608d4
5 changed files with 7 additions and 3 deletions

View File

@@ -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 &rarr; <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.',
];

View File

@@ -0,0 +1 @@
{{ trans('demo.index', {asset: route('accounts.index', ['asset']), budgets: route('budgets.index'), reports: route('reports.index')})|raw }}

View File

@@ -0,0 +1 @@
{{ trans('demo.index', {asset: route('accounts.index', ['asset']), budgets: route('budgets.index'), reports: route('reports.index')})|raw }}

View File

@@ -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 }}

View File

@@ -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>