From 2f26729c841a68669a1baf799091cb2c6c9f585a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sat, 12 Jul 2014 19:01:11 +0200 Subject: Refactor --- themes/courgette/_view.twig | 2 +- themes/courgette/home.twig | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'themes/courgette') diff --git a/themes/courgette/_view.twig b/themes/courgette/_view.twig index 25479a3d..c5c916c0 100755 --- a/themes/courgette/_view.twig +++ b/themes/courgette/_view.twig @@ -12,7 +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
  • +
  • EPUB
  • {% trans "this article appears wrong?" %}
  • diff --git a/themes/courgette/home.twig b/themes/courgette/home.twig index 401f3f20..811298eb 100755 --- a/themes/courgette/home.twig +++ b/themes/courgette/home.twig @@ -53,9 +53,9 @@ {{ 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 %} + {% 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 %} -- cgit v1.2.3