Extra code for demo site.

This commit is contained in:
James Cole 2016-12-26 09:33:52 +01:00
parent 2847e2aff5
commit 648e63628c
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
3 changed files with 16 additions and 5 deletions

View File

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

View 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.

View File

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