From 07da8611267edca21ae8addd13ae432ac0ce4b68 Mon Sep 17 00:00:00 2001 From: tcit Date: Wed, 23 Apr 2014 10:53:57 +0200 Subject: Added multi-user functionnality in all themes --- themes/courgette/config.twig | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'themes/courgette') 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 %} -- cgit v1.2.3 From f3f0b11393dd7f11bc1e63df9488c3930c0bc06f Mon Sep 17 00:00:00 2001 From: tcit Date: Thu, 15 May 2014 15:42:36 +0200 Subject: Better names for epub files and epub in all themes now --- themes/courgette/_view.twig | 1 + themes/courgette/config.twig | 3 +++ themes/courgette/home.twig | 9 ++++++++- 3 files changed, 12 insertions(+), 1 deletion(-) (limited to 'themes/courgette') diff --git a/themes/courgette/_view.twig b/themes/courgette/_view.twig index 9f9ea4f6..25479a3d 100755 --- a/themes/courgette/_view.twig +++ b/themes/courgette/_view.twig @@ -12,6 +12,7 @@ {% if constant('SHARE_MAIL') == 1 %}
  • {% endif %} {% if constant('SHARE_SHAARLI') == 1 %}
  • {% trans "shaarli" %}
  • {% endif %} {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}
  • {% trans "flattr" %}
  • {% elseif flattr.status == constant('FLATTRED') %}
  • {% trans "flattr" %}{{ flattr.numflattrs }}
  • {% endif %}{% endif %} +
  • EPUB
  • {% trans "this article appears wrong?" %}
  • diff --git a/themes/courgette/config.twig b/themes/courgette/config.twig index a022d733..9ab58461 100755 --- a/themes/courgette/config.twig +++ b/themes/courgette/config.twig @@ -81,6 +81,9 @@

    {% trans "Export your wallabag data" %}

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

    +

    {% trans "Fancy an E-Book ?" %}

    +

    {% trans "Click on this link to get all your articles in one ebook (ePub 3 format)." %} +
    {% trans "This can take a while and can even fail if you have too many articles, depending on your server configuration." %}

    {% trans 'Add user' %}

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

    diff --git a/themes/courgette/home.twig b/themes/courgette/home.twig index 6ba72d35..401f3f20 100755 --- a/themes/courgette/home.twig +++ b/themes/courgette/home.twig @@ -50,6 +50,13 @@

    {{ entry.content|striptags|slice(0, 300) }}...

    {% endfor %} - {% endif %} + {{ block('pager') }} + + {% if tag %}{% trans "Download the articles from this tag in an epub" %} + {% elseif search_term is defined %}{% trans "Download the articles from this search in an epub" %} + {% else %}{% trans "Download the articles from this category in an epub" %}{% endif %} + + {% endif %} + {% endblock %} \ No newline at end of file -- cgit v1.2.3