diff options
| author | 0livd <0livd@users.noreply.github.com> | 2017-05-16 23:21:41 +0100 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2017-05-17 00:21:41 +0200 |
| commit | 091553be566d97816ed898207b56d2694eb2efdd (patch) | |
| tree | 143d65b70c5ce1b45d9300a91621aeb18aac5c82 /budget/templates/home.html | |
| parent | 4410aaa5041d2fd438b8138d5c5242d8f5e23d85 (diff) | |
| download | ihatemoney-mirror-091553be566d97816ed898207b56d2694eb2efdd.zip ihatemoney-mirror-091553be566d97816ed898207b56d2694eb2efdd.tar.gz ihatemoney-mirror-091553be566d97816ed898207b56d2694eb2efdd.tar.bz2 | |
Add ACTIVATE_DEMO_PROJECT setting (#209)
When set to False (True by default), it deactivates
the demo project
Diffstat (limited to 'budget/templates/home.html')
| -rw-r--r-- | budget/templates/home.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/budget/templates/home.html b/budget/templates/home.html index 399343a..edbee61 100644 --- a/budget/templates/home.html +++ b/budget/templates/home.html @@ -5,7 +5,9 @@ <header id="header" class="row"> <div class="col-5 offset-md-2"> <h2>{{ _("Manage your shared <br>expenses, easily") }}</h2> + {% if is_demo_project_activated %} <a href="{{ url_for(".demo") }}" class="tryout btn">{{ _("Try out the demo") }}</a> + {% endif %} </div> <div class="col-4"> <p class="additional-content">{{ _("You're sharing a house?") }}<br /> {{ _("Going on holidays with friends?") }}<br /> {{ _("Simply sharing money with others?") }} <br /><strong>{{ _("We can help!") }}</strong></p> |
