aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates/layout.html
diff options
context:
space:
mode:
authorNicolas Vanvyve <NVanvyve@users.noreply.github.com>2020-01-13 21:17:55 +0100
committerGlandos <bugs-github@antipoul.fr>2020-01-13 21:17:55 +0100
commit9aa7e62d0f77f27590dac1cae5603e8f7efb891f (patch)
treefdccec64b145d2600a18f300bfec5891acd5fc73 /ihatemoney/templates/layout.html
parent73a4d139fffe3fdbabd0a47839eacc9964810066 (diff)
downloadihatemoney-mirror-9aa7e62d0f77f27590dac1cae5603e8f7efb891f.zip
ihatemoney-mirror-9aa7e62d0f77f27590dac1cae5603e8f7efb891f.tar.gz
ihatemoney-mirror-9aa7e62d0f77f27590dac1cae5603e8f7efb891f.tar.bz2
Import previously exported json data (#518)
Fix #417 * New tab upload * Extract data from JSON * Add users * Black format * Try to add bill * Import bills * Add french translation msg * Black reformat missing * Deactivated users are supported * Test import * Remove temp file in upload_json() * Incomplete tests * tests import * Update ihatemoney/translations/fr/LC_MESSAGES/messages.po Co-Authored-By: Rémy HUBSCHER <hubscher.remy@gmail.com> * Remove useless variable and check json format * Use String.IO and test for wrong json * Remove coma Co-authored-by: Rémy HUBSCHER <hubscher.remy@gmail.com>
Diffstat (limited to 'ihatemoney/templates/layout.html')
-rw-r--r--ihatemoney/templates/layout.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/ihatemoney/templates/layout.html b/ihatemoney/templates/layout.html
index 7ff7296..664182a 100644
--- a/ihatemoney/templates/layout.html
+++ b/ihatemoney/templates/layout.html
@@ -42,6 +42,7 @@
<li class="nav-item{% if current_view == 'settle_bill' %} active{% endif %}"><a class="nav-link" href="{{ url_for("main.settle_bill") }}">{{ _("Settle") }}</a></li>
<li class="nav-item{% if current_view == 'statistics' %} active{% endif %}"><a class="nav-link" href="{{ url_for("main.statistics") }}">{{ _("Statistics") }}</a></li>
<li class="nav-item{% if current_view == 'edit_project' %} active{% endif %}"><a class="nav-link" href="{{ url_for("main.edit_project") }}">{{ _("Settings") }}</a></li>
+ <li class="nav-item{% if current_view == 'upload_json' %} active{% endif %}"><a class="nav-link" href="{{ url_for("main.upload_json") }}">{{ _("Import") }}</a></li>
{% endblock %}
{% endif %}
</ul>