diff --git a/resources/views/auth/login.twig b/resources/views/auth/login.twig index f0ab30b5bd..88353375a6 100644 --- a/resources/views/auth/login.twig +++ b/resources/views/auth/login.twig @@ -1,18 +1,17 @@ {% extends "./layout/guest" %} {% block content %} - {% if IS_DEMO_SITE %}

- Welcome to the Firefly III demonstration website!
-
+ Welcome to the Firefly III demonstration website!
+
To log in, please use email address {{ DEMO_USERNAME }} with password {{ DEMO_PASSWORD }}

-{% endif %} + {% endif %} {% if errors.has('email') %}
diff --git a/resources/views/demo/no-demo-text.twig b/resources/views/demo/no-demo-text.twig new file mode 100644 index 0000000000..193d1f751e --- /dev/null +++ b/resources/views/demo/no-demo-text.twig @@ -0,0 +1,3 @@ +Sorry, there is no extra demo-explanation text for this page. + +However, the -icon in the top right corner may tell you more. \ No newline at end of file diff --git a/resources/views/layout/default.twig b/resources/views/layout/default.twig index 54dd27bce6..670580a85a 100644 --- a/resources/views/layout/default.twig +++ b/resources/views/layout/default.twig @@ -112,11 +112,20 @@
{% include('partials.page-header') %} {% block breadcrumbs %}{% endblock %} -
+ {% if IS_DEMO_SITE %} +
+
+

+ {% include ['demo.no-demo-text', 'demo.' ~ Route.getCurrentRoute.getName] %} +

+
+
+ {% endif %} + {% include('partials.flashes') %}