mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Extra code for demo site.
This commit is contained in:
parent
2847e2aff5
commit
648e63628c
@ -1,18 +1,17 @@
|
||||
{% extends "./layout/guest" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% if IS_DEMO_SITE %}
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<p class="well">
|
||||
Welcome to the Firefly III demonstration website!<br />
|
||||
<br />
|
||||
Welcome to the Firefly III demonstration website!<br/>
|
||||
<br/>
|
||||
To log in, please use email address <strong>{{ DEMO_USERNAME }}</strong> with password <strong>{{ DEMO_PASSWORD }}</strong>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if errors.has('email') %}
|
||||
<div class="row">
|
||||
|
3
resources/views/demo/no-demo-text.twig
Normal file
3
resources/views/demo/no-demo-text.twig
Normal file
@ -0,0 +1,3 @@
|
||||
Sorry, there is no extra demo-explanation text for <abbr title="page: {{ Route.getCurrentRoute.getName }}">this page</abbr>.
|
||||
|
||||
However, the <i class="fa fa-question-circle"></i>-icon in the top right corner may tell you more.
|
@ -112,11 +112,20 @@
|
||||
<section class="content-header">
|
||||
{% include('partials.page-header') %}
|
||||
{% block breadcrumbs %}{% endblock %}
|
||||
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
{% if IS_DEMO_SITE %}
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<p class="well">
|
||||
{% include ['demo.no-demo-text', 'demo.' ~ Route.getCurrentRoute.getName] %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% include('partials.flashes') %}
|
||||
|
||||
<!-- actual content -->
|
||||
|
Loading…
Reference in New Issue
Block a user