diff options
Diffstat (limited to 'themes/baggy')
-rwxr-xr-x | themes/baggy/about.twig | 18 | ||||
-rwxr-xr-x | themes/baggy/config.twig | 10 | ||||
-rwxr-xr-x | themes/baggy/home.twig | 21 | ||||
-rwxr-xr-x | themes/baggy/view.twig | 4 |
4 files changed, 39 insertions, 14 deletions
diff --git a/themes/baggy/about.twig b/themes/baggy/about.twig index 7e19a900..110196a6 100755 --- a/themes/baggy/about.twig +++ b/themes/baggy/about.twig | |||
@@ -9,7 +9,7 @@ | |||
9 | 9 | ||
10 | <dl> | 10 | <dl> |
11 | <dt>{% trans "Project website" %}</dt> | 11 | <dt>{% trans "Project website" %}</dt> |
12 | <dd><a href="http://www.wallabag.org">http://www.wallabag.org</a></dd> | 12 | <dd><a href="https://www.wallabag.org">https://www.wallabag.org</a></dd> |
13 | 13 | ||
14 | <dt>{% trans "Main developer" %}</dt> | 14 | <dt>{% trans "Main developer" %}</dt> |
15 | <dd><a href="mailto:nicolas@loeuillet.org">Nicolas Lœuillet</a> — <a href="http://cdetc.fr">{% trans "website" %}</a></dd> | 15 | <dd><a href="mailto:nicolas@loeuillet.org">Nicolas Lœuillet</a> — <a href="http://cdetc.fr">{% trans "website" %}</a></dd> |
@@ -18,7 +18,7 @@ | |||
18 | <dd><a href="https://github.com/wallabag/wallabag/graphs/contributors">{% trans "on Github" %}</a></dd> | 18 | <dd><a href="https://github.com/wallabag/wallabag/graphs/contributors">{% trans "on Github" %}</a></dd> |
19 | 19 | ||
20 | <dt>{% trans "Bug reports" %}</dt> | 20 | <dt>{% trans "Bug reports" %}</dt> |
21 | <dd><a href="http://support.wallabag.org">{% trans "On our support website" %}</a> {% trans "or" %} <a href="https://github.com/wallabag/wallabag/issues">{% trans "on Github" %}</a></dd> | 21 | <dd><a href="https://support.wallabag.org">{% trans "On our support website" %}</a> {% trans "or" %} <a href="https://github.com/wallabag/wallabag/issues">{% trans "on Github" %}</a></dd> |
22 | 22 | ||
23 | <dt>{% trans "License" %}</dt> | 23 | <dt>{% trans "License" %}</dt> |
24 | <dd><a href="http://en.wikipedia.org/wiki/MIT_License">MIT</a></dd> | 24 | <dd><a href="http://en.wikipedia.org/wiki/MIT_License">MIT</a></dd> |
@@ -29,14 +29,24 @@ | |||
29 | 29 | ||
30 | <p>{% trans "wallabag is a read-it-later application: you can save a web page by keeping only content. Elements like ads or menus are deleted." %}</p> | 30 | <p>{% trans "wallabag is a read-it-later application: you can save a web page by keeping only content. Elements like ads or menus are deleted." %}</p> |
31 | 31 | ||
32 | <h2>{% trans "Getting help" %}</h2> | ||
33 | |||
34 | <dl> | ||
35 | <dt>{% trans "Documentation" %}</dt> | ||
36 | <dd><a href="docs/">Offline documentation</a> and <a href="https://doc.wallabag.org/">online documentation</a> (up to date)</dd> | ||
37 | |||
38 | <dt>{% trans "Support" %}</dt> | ||
39 | <dd><a href="http://support.wallabag.org/">http://support.wallabag.org/</a></dd> | ||
40 | </dl> | ||
41 | |||
32 | <h2>{% trans "Helping wallabag" %}</h2> | 42 | <h2>{% trans "Helping wallabag" %}</h2> |
33 | 43 | ||
34 | <p>{% trans "wallabag is free and opensource. You can help us:" %}</p> | 44 | <p>{% trans "wallabag is free and opensource. You can help us:" %}</p> |
35 | 45 | ||
36 | <dl> | 46 | <dl> |
37 | <dt><a href="http://www.wallabag.org">{% trans "via Paypal" %}</a></dt> | 47 | <dt><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb">{% trans "via Paypal" %}</a></dt> |
38 | 48 | ||
39 | <dt><a href="http://www.wallabag.org">{% trans "via Flattr" %}</a></dt> | 49 | <dt><a href="https://flattr.com/thing/1265480">{% trans "via Flattr" %}</a></dt> |
40 | </dl> | 50 | </dl> |
41 | 51 | ||
42 | <h2>{% trans "Credits" %}</h2> | 52 | <h2>{% trans "Credits" %}</h2> |
diff --git a/themes/baggy/config.twig b/themes/baggy/config.twig index 2b967cd4..a5a61559 100755 --- a/themes/baggy/config.twig +++ b/themes/baggy/config.twig | |||
@@ -106,8 +106,14 @@ | |||
106 | <span class="more-info">Data will be exported in a single JSON file.</span></p> | 106 | <span class="more-info">Data will be exported in a single JSON file.</span></p> |
107 | 107 | ||
108 | <h2>{% trans "Fancy an E-Book ?" %}</h2> | 108 | <h2>{% trans "Fancy an E-Book ?" %}</h2> |
109 | <p><a href="./?epub&method=all" title="Generate ePub">Download E-Book</a><br> | 109 | <p>{% trans "Click to get all your articles in one ebook :" %} |
110 | <span class="more-info">{% trans "Articles will be exported as a single E-book file (EPUB 3 format)." %} {% trans "This can <b>take a while</b> and can <b>even fail</b> if you have too many articles, depending on your server configuration." %}</span></p> | 110 | <ul> |
111 | <li><a href="./?epub&method=all" title="{% trans 'Generate ePub file' %}">ePub 3</a></li> | ||
112 | <li><a href="./?mobi&method=all" title="{% trans 'Generate Mobi file' %}">Mobi</a></li> | ||
113 | <li><a href="./?pdf&method=all" title="{% trans 'Generate PDF file' %}">PDF</a></li> | ||
114 | </ul> | ||
115 | |||
116 | <span class="more-info">{% trans "This can <b>take a while</b> and can <b>even fail</b> if you have too many articles, depending on your server configuration." %}</span></p> | ||
111 | 117 | ||
112 | <h2><a name="cache"></a>{% trans "Cache" %}</h2> | 118 | <h2><a name="cache"></a>{% trans "Cache" %}</h2> |
113 | <p><a href="?empty-cache">{% trans "Delete Cache" %}</a><br> | 119 | <p><a href="?empty-cache">{% trans "Delete Cache" %}</a><br> |
diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig index eb554b11..5068f755 100755 --- a/themes/baggy/home.twig +++ b/themes/baggy/home.twig | |||
@@ -58,13 +58,20 @@ | |||
58 | </div> | 58 | </div> |
59 | {{ block('pager') }} | 59 | {{ block('pager') }} |
60 | {% if view == 'home' %}{% if nb_results > 1 %}<p><a title="{% trans "Mark all the entries as read" %}" href="./?action=archive_all">{% trans "Mark all the entries as read" %}</a></p>{% endif %}{% endif %} | 60 | {% if view == 'home' %}{% if nb_results > 1 %}<p><a title="{% trans "Mark all the entries as read" %}" href="./?action=archive_all">{% trans "Mark all the entries as read" %}</a></p>{% endif %}{% endif %} |
61 | 61 | {% if searchterm is defined %}<a title="{% trans "Tag these results as" %} {{ searchterm }}" href="./?action=add_tag&search={{ searchterm }}">{% trans "Tag these results as" %} {{ searchterm }}</a>{% endif %}<br /> | |
62 | {% if searchterm is defined %}<p><a title="{% trans "Tag these results as" %} {{ searchterm }}" href="./?action=add_tag&search={{ searchterm }}"> | ||
63 | {% trans "Tag these results as" %} {{ searchterm }}</p></a>{% endif %} | ||
64 | |||
65 | {% if tag %}<p><a title="{% trans "Download the articles from this tag in an epub" %}" href="./?epub&method=tag&value={{ tag.value }}">{% trans "Download the articles from this tag in an epub" %}</p></a> | ||
66 | {% elseif search_term is defined %}<p><a title="{% trans "Download the articles from this search in an epub" %}" href="./?epub&method=search&value={{ search_term }}">{% trans "Download the articles from this search in an epub" %}</p></a> | ||
67 | {% else %}<p><a title="{% trans "Download the articles from this category in an epub" %}" href="./?epub&method=category&value={{ view }}">{% trans "Download the articles from this category in an epub" %}</a></p>{% endif %} | ||
68 | 62 | ||
63 | {% if tag %} | ||
64 | {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this tag in an epub file" %}" href="./?epub&method=tag&value={{ tag.value }}">{% trans "Download as ePub3" %}</a>{% endif %} | ||
65 | {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this tag in a mobi file" %}" href="./?mobi&method=tag&value={{ tag.value }}">{% trans "Download as Mobi" %}</a>{% endif %} | ||
66 | {% if constant('PDF') == 1 %}<a title="{% trans "Download the articles from this tag in a pdf file" %}" href="./?pdf&method=tag&value={{ tag.value }}">{% trans "Download as PDF" %}</a>{% endif %} | ||
67 | {% elseif searchterm is defined %} | ||
68 | {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this search in an epub" %}" href="./?epub&method=search&value={{ searchterm }}">{% trans "Download as ePub3" %}</a>{% endif %} | ||
69 | {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this search in a mobi file" %}" href="./?mobi&method=search&value={{ searchterm }}">{% trans "Download as Mobi" %}</a>{% endif %} | ||
70 | {% if constant('PDF') == 1 %}<a title="{% trans "Download the articles from this search in a pdf file" %}" href="./?pdf&method=search&value={{ searchterm }}">{% trans "Download as PDF" %}</a>{% endif %} | ||
71 | {% else %} | ||
72 | {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this category in an epub" %}" href="./?epub&method=category&value={{ view }}">{% trans "Download as ePub3" %}</a>{% endif %} | ||
73 | {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this category in a mobi file" %}" href="./?mobi&method=category&value={{ view }}">{% trans "Download as Mobi" %}</a>{% endif %} | ||
74 | {% if constant('PDF') == 1 %}<a title="{% trans "Download the articles from this category in a pdf file" %}" href="./?pdf&method=category&value={{ view }}">{% trans "Download as PDF" %}</a>{% endif %} | ||
69 | {% endif %} | 75 | {% endif %} |
76 | {% endif %} | ||
70 | {% endblock %} | 77 | {% endblock %} |
diff --git a/themes/baggy/view.twig b/themes/baggy/view.twig index 9225d11b..1afd9df6 100755 --- a/themes/baggy/view.twig +++ b/themes/baggy/view.twig | |||
@@ -19,7 +19,9 @@ | |||
19 | {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr icon icon-flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span></a></li>{% elseif flattr.status == constant('FLATTRED') %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr icon icon-flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span> ({{ flattr.numFlattrs }})</a></li>{% endif %}{% endif %} | 19 | {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr icon icon-flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span></a></li>{% elseif flattr.status == constant('FLATTRED') %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr icon icon-flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span> ({{ flattr.numFlattrs }})</a></li>{% endif %}{% endif %} |
20 | {% if constant('CARROT') == 1 %}<li><a href="https://secure.carrot.org/GiveAndGetBack.do?url={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" class="tool carrot icon-image icon-image--carrot" target="_blank" title="{% trans "carrot" %}"><span>Carrot</span></a></li>{% endif %} | 20 | {% if constant('CARROT') == 1 %}<li><a href="https://secure.carrot.org/GiveAndGetBack.do?url={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" class="tool carrot icon-image icon-image--carrot" target="_blank" title="{% trans "carrot" %}"><span>Carrot</span></a></li>{% endif %} |
21 | {% if constant('SHOW_PRINTLINK') == 1 %}<li><a title="{% trans "Print" %}" class="tool icon icon-print" href="javascript: window.print();"><span>{% trans "Print" %}</span></a></li>{% endif %} | 21 | {% if constant('SHOW_PRINTLINK') == 1 %}<li><a title="{% trans "Print" %}" class="tool icon icon-print" href="javascript: window.print();"><span>{% trans "Print" %}</span></a></li>{% endif %} |
22 | <li><a href="./?epub&method=id&value={{ entry.id|e }}" title="Generate epub file">EPUB</a></li> | 22 | {% if constant('EPUB') == 1 %}<li><a href="./?epub&method=id&value={{ entry.id|e }}" title="Generate ePub file">EPUB</a></li>{% endif %} |
23 | {% if constant('MOBI') == 1 %}<li><a href="./?mobi&method=id&value={{ entry.id|e }}" title="Generate Mobi file">MOBI</a></li>{% endif %} | ||
24 | {% if constant('PDF') == 1 %}<li><a href="./?pdf&method=id&value={{ entry.id|e }}" title="Generate PDF file">PDF</a></li>{% endif %} | ||
23 | <li><a href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&body={{ entry.url|url_encode }}" title="{% trans "Does this article appear wrong?" %}" class="tool bad-display icon icon-delete"><span>{% trans "Does this article appear wrong?" %}</span></a></li> | 25 | <li><a href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&body={{ entry.url|url_encode }}" title="{% trans "Does this article appear wrong?" %}" class="tool bad-display icon icon-delete"><span>{% trans "Does this article appear wrong?" %}</span></a></li> |
24 | </ul> | 26 | </ul> |
25 | </div> | 27 | </div> |