From: tcit Date: Wed, 23 Apr 2014 08:53:57 +0000 (+0200) Subject: Added multi-user functionnality in all themes X-Git-Tag: 1.7.0^2~18 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=07da8611267edca21ae8addd13ae432ac0ce4b68;p=github%2Fwallabag%2Fwallabag.git Added multi-user functionnality in all themes --- diff --git a/themes/courgette/config.twig b/themes/courgette/config.twig index 6e1a9043..a022d733 100755 --- a/themes/courgette/config.twig +++ b/themes/courgette/config.twig @@ -80,5 +80,39 @@

{% trans "Export your wallabag data" %}

{% trans "Click here" %} {% trans "to export your wallabag data." %}

+ + +

{% trans 'Add user' %}

+

{% trans 'Add a new user :' %}

+
+
+
+ + +
+
+ + +
+
+ +
+
+
+ +

{% trans "Delete account" %}

+ {% if not only_user %}
+

{% trans "You can delete your account by entering your password and validating." %}
{% trans "Be careful, data will be erased forever (that is a very long time)." %}

+
+
+ + +
+
+ +
+ + {% else %}

{% trans "You are the only user, you cannot delete your own account." %}
+ {% trans "To completely remove wallabag, delete the wallabag folder on your web server." %}

{% endif %} {% endblock %} diff --git a/themes/default/config.twig b/themes/default/config.twig index bb39dea2..5ed9d80f 100755 --- a/themes/default/config.twig +++ b/themes/default/config.twig @@ -126,4 +126,37 @@

{% trans "Cache" %}

{% trans "Click here" %} {% trans "to delete cache." %}

+ +

{% trans 'Add user' %}

+

{% trans 'Add a new user :' %}

+
+
+
+ + +
+
+ + +
+
+ +
+
+
+ +

{% trans "Delete account" %}

+ {% if not only_user %}
+

{% trans "You can delete your account by entering your password and validating." %}
{% trans "Be careful, data will be erased forever (that is a very long time)." %}

+
+
+ + +
+
+ +
+ + {% else %}

{% trans "You are the only user, you cannot delete your own account." %}
+ {% trans "To completely remove wallabag, delete the wallabag folder on your web server." %}

{% endif %} {% endblock %}