aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates/layout.html
diff options
context:
space:
mode:
authorJojo144 <Jojo144@users.noreply.github.com>2020-05-07 22:34:31 +0200
committerGitHub <noreply@github.com>2020-05-07 22:34:31 +0200
commitbd1122cc0e3c5524bea6f4dc97422eaeb52ed8d2 (patch)
treeccd40440e4602896103b5f678f5727a2860d08ab /ihatemoney/templates/layout.html
parent795efd6b58a0d4eec002eddeb4c9b0b16461a4a0 (diff)
downloadihatemoney-mirror-bd1122cc0e3c5524bea6f4dc97422eaeb52ed8d2.zip
ihatemoney-mirror-bd1122cc0e3c5524bea6f4dc97422eaeb52ed8d2.tar.gz
ihatemoney-mirror-bd1122cc0e3c5524bea6f4dc97422eaeb52ed8d2.tar.bz2
Integrate illustrations as a showcase (#544)
Integrate some custom graphics, and a whole comics explanation, only in French for now. Fix #363
Diffstat (limited to 'ihatemoney/templates/layout.html')
-rw-r--r--ihatemoney/templates/layout.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/ihatemoney/templates/layout.html b/ihatemoney/templates/layout.html
index 35d2797..6204ad5 100644
--- a/ihatemoney/templates/layout.html
+++ b/ihatemoney/templates/layout.html
@@ -16,6 +16,7 @@
<link rel=stylesheet type=text/css href="{{ url_for("static", filename='css/datatables.min.css') }}">
<script src="{{ url_for("static", filename="js/datatables.min.js") }}"></script>
{%- endif %}
+
{% block head %}{% endblock %}
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
@@ -32,6 +33,7 @@
</script>
</head>
<body class="d-flex flex-column h-100">
+ {% if g.lang == 'fr' %}{% include "showcase.html" %}{% endif %}
<nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarToggler" aria-controls="navbarToggler" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
@@ -85,7 +87,7 @@
<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarProjectsLinks">
<li>
<a class="dropdown-item" href="{{ url_for("main.create_project") }}">
- <i class="icon plus">{{ static_include("images/plus.svg") | safe }}</i>
+ <i class="icon before-text">{{ static_include("images/plus.svg") | safe }}</i>
{{ _("Start a new project") }}
</a>
</li>