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