aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/baggy
diff options
context:
space:
mode:
Diffstat (limited to 'themes/baggy')
-rwxr-xr-xthemes/baggy/home.twig12
1 files changed, 6 insertions, 6 deletions
diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig
index 5f097f3f..84fc8e8b 100755
--- a/themes/baggy/home.twig
+++ b/themes/baggy/home.twig
@@ -21,7 +21,7 @@
21 {% elseif view == 'fav' %}{% trans "No articles favourited" %} 21 {% elseif view == 'fav' %}{% trans "No articles favourited" %}
22 {% elseif view == 'archive' %}{% trans "No articles marked as read" %} 22 {% elseif view == 'archive' %}{% trans "No articles marked as read" %}
23 {% elseif view == 'tags' %}{% trans "No articles with this tag found" %} 23 {% elseif view == 'tags' %}{% trans "No articles with this tag found" %}
24 {% elseif search_term is defined %} {% trans %}No articles found for « {{ search_term }} »{% endtrans %} 24 {% elseif searchterm is defined %} {% trans %}No articles found for « {{ searchterm }} »{% endtrans %}
25 {% else %}{% trans "No articles found" %}{% endif %} 25 {% else %}{% trans "No articles found" %}{% endif %}
26 </p></div> 26 </p></div>
27 {% else %} 27 {% else %}
@@ -41,8 +41,8 @@
41 {{ nb_results }} {% trans "articles marked as read" %} 41 {{ nb_results }} {% trans "articles marked as read" %}
42 {% elseif view == 'tag' %} 42 {% elseif view == 'tag' %}
43 {{ nb_results }} {% trans "articles with this tag" %} 43 {{ nb_results }} {% trans "articles with this tag" %}
44 {% elseif search_term is defined %}{{ nb_results }} 44 {% elseif searchterm is defined %}
45 {% trans %}articles found for « {{ search_term }} »{% endtrans %} 45 {{ nb_results }} {% trans %}articles found for « {{ searchterm }} »{% endtrans %}
46 {% else %} 46 {% else %}
47 {{ nb_results }} {% trans "articles" %} 47 {{ nb_results }} {% trans "articles" %}
48 {% endif %} 48 {% endif %}
@@ -58,7 +58,7 @@
58 {% elseif view == 'fav' %}{% trans "Just one article favourited" %} 58 {% elseif view == 'fav' %}{% trans "Just one article favourited" %}
59 {% elseif view == 'archive' %}{% trans "One article marked as read" %} 59 {% elseif view == 'archive' %}{% trans "One article marked as read" %}
60 {% elseif view == 'tag' %}{% trans "One article with this tag" %} 60 {% elseif view == 'tag' %}{% trans "One article with this tag" %}
61 {% elseif search_term is defined %}{% trans %}Only one result found for « {{ search_term }} »{% endtrans %} 61 {% elseif searchterm is defined %}{% trans %}Only one result found for « {{ searchterm }} »{% endtrans %}
62 {% else %}{% trans "One article found" %}{% endif %}</div> 62 {% else %}{% trans "One article found" %}{% endif %}</div>
63 </div> 63 </div>
64 {% endif %} 64 {% endif %}
@@ -91,20 +91,20 @@
91 91
92 {% if tag %}<a title="{% trans "Mark all articles from this tag as read" %}" href="./?action=toggle_archive&amp;tag_id={{ tag.id }}">{% trans "Mark all articles from this tag as read" %}</a><br />{% endif %} 92 {% if tag %}<a title="{% trans "Mark all articles from this tag as read" %}" href="./?action=toggle_archive&amp;tag_id={{ tag.id }}">{% trans "Mark all articles from this tag as read" %}</a><br />{% endif %}
93 93
94 {% if entries is not empty %}
95 {% if tag %} 94 {% if tag %}
96 {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this tag in an epub file" %}" href="./?epub&amp;method=tag&amp;value={{ tag.value }}">{% trans "Download as ePub3" %}</a>{% endif %} 95 {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this tag in an epub file" %}" href="./?epub&amp;method=tag&amp;value={{ tag.value }}">{% trans "Download as ePub3" %}</a>{% endif %}
97 {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this tag in a mobi file" %}" href="./?mobi&amp;method=tag&amp;value={{ tag.value }}">{% trans "Download as Mobi" %}</a>{% endif %} 96 {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this tag in a mobi file" %}" href="./?mobi&amp;method=tag&amp;value={{ tag.value }}">{% trans "Download as Mobi" %}</a>{% endif %}
98 {% if constant('PDF') == 1 %}<a title="{% trans "Download the articles from this tag in a pdf file" %}" href="./?pdf&amp;method=tag&amp;value={{ tag.value }}">{% trans "Download as PDF" %}</a>{% endif %} 97 {% if constant('PDF') == 1 %}<a title="{% trans "Download the articles from this tag in a pdf file" %}" href="./?pdf&amp;method=tag&amp;value={{ tag.value }}">{% trans "Download as PDF" %}</a>{% endif %}
98
99 {% elseif searchterm is defined %} 99 {% elseif searchterm is defined %}
100 {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this search in an epub" %}" href="./?epub&amp;method=search&amp;value={{ searchterm }}">{% trans "Download as ePub3" %}</a>{% endif %} 100 {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this search in an epub" %}" href="./?epub&amp;method=search&amp;value={{ searchterm }}">{% trans "Download as ePub3" %}</a>{% endif %}
101 {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this search in a mobi file" %}" href="./?mobi&amp;method=search&amp;value={{ searchterm }}">{% trans "Download as Mobi" %}</a>{% endif %} 101 {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this search in a mobi file" %}" href="./?mobi&amp;method=search&amp;value={{ searchterm }}">{% trans "Download as Mobi" %}</a>{% endif %}
102 {% if constant('PDF') == 1 %}<a title="{% trans "Download the articles from this search in a pdf file" %}" href="./?pdf&amp;method=search&amp;value={{ searchterm }}">{% trans "Download as PDF" %}</a>{% endif %} 102 {% if constant('PDF') == 1 %}<a title="{% trans "Download the articles from this search in a pdf file" %}" href="./?pdf&amp;method=search&amp;value={{ searchterm }}">{% trans "Download as PDF" %}</a>{% endif %}
103
103 {% else %} 104 {% else %}
104 {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this category in an epub" %}" href="./?epub&amp;method=category&amp;value={{ view }}">{% trans "Download as ePub3" %}</a>{% endif %} 105 {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this category in an epub" %}" href="./?epub&amp;method=category&amp;value={{ view }}">{% trans "Download as ePub3" %}</a>{% endif %}
105 {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this category in a mobi file" %}" href="./?mobi&amp;method=category&amp;value={{ view }}">{% trans "Download as Mobi" %}</a>{% endif %} 106 {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this category in a mobi file" %}" href="./?mobi&amp;method=category&amp;value={{ view }}">{% trans "Download as Mobi" %}</a>{% endif %}
106 {% if constant('PDF') == 1 %}<a title="{% trans "Download the articles from this category in a pdf file" %}" href="./?pdf&amp;method=category&amp;value={{ view }}">{% trans "Download as PDF" %}</a>{% endif %} 107 {% if constant('PDF') == 1 %}<a title="{% trans "Download the articles from this category in a pdf file" %}" href="./?pdf&amp;method=category&amp;value={{ view }}">{% trans "Download as PDF" %}</a>{% endif %}
107 {% endif %} 108 {% endif %}
108 {% endif %}
109{% endif %} 109{% endif %}
110{% endblock %} 110{% endblock %}