diff options
author | Thomas Citharel <tcit@tcit.fr> | 2015-03-07 22:52:03 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2015-03-07 22:52:03 +0100 |
commit | 00dc7622fbb25458f82b8d81dffae6f843dadece (patch) | |
tree | 5d9e6aec0bd8243b30d5f6f4cfb2334ff820bb88 /themes/baggy/view.twig | |
parent | 0ae1e652c94fded9f656876a25ca8021bc5bf727 (diff) | |
download | wallabag-00dc7622fbb25458f82b8d81dffae6f843dadece.tar.gz wallabag-00dc7622fbb25458f82b8d81dffae6f843dadece.tar.zst wallabag-00dc7622fbb25458f82b8d81dffae6f843dadece.zip |
change system for #1123 and keyboard arrows shortcuts
Diffstat (limited to 'themes/baggy/view.twig')
-rwxr-xr-x | themes/baggy/view.twig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/themes/baggy/view.twig b/themes/baggy/view.twig index ae02ce48..68af03f5 100755 --- a/themes/baggy/view.twig +++ b/themes/baggy/view.twig | |||
@@ -8,7 +8,7 @@ | |||
8 | <div id="article_toolbar"> | 8 | <div id="article_toolbar"> |
9 | <ul class="links"> | 9 | <ul class="links"> |
10 | <li class="topPosF"><a href="#top" title="{% trans "Back to top" %}" class="tool top icon icon-arrow-up-thick"><span>{% trans "Back to top" %}</span></a></li> | 10 | <li class="topPosF"><a href="#top" title="{% trans "Back to top" %}" class="tool top icon icon-arrow-up-thick"><span>{% trans "Back to top" %}</span></a></li> |
11 | {% if navigate.previous %}<li><a href="./?view=view&id={{ navigate.previousid|e }}" class="tool icon icon-previous"><span>{% trans "Previous Article" %}</span></a></li>{% endif %} | 11 | {% if navigate.next %}<li class="leftPosF"><a href="./?view=view&id={{ navigate.nextid|e }}" class="top tool icon icon-previous"><span>{% trans "Next Article" %}</span></a></li>{% endif %} |
12 | <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link icon icon-link"><span>{{ entry.url | e | getDomain }}</span></a></li> | 12 | <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link icon icon-link"><span>{{ entry.url | e | getDomain }}</span></a></li> |
13 | <li><a title="{% trans "Mark as read" %}" class="tool icon icon-check {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="javascript: void(null);" id="markAsRead"><span>{% trans "Toggle mark as read" %}</span></a></li> | 13 | <li><a title="{% trans "Mark as read" %}" class="tool icon icon-check {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="javascript: void(null);" id="markAsRead"><span>{% trans "Toggle mark as read" %}</span></a></li> |
14 | {% if navigate.next %}<li><a title="{% trans "Mark as read and go to next article" %}" class="tool icon archiveandnext-icon" href="./?action=archive_and_next&id={{ entry.id|e }}" id="markAsReadAndNext"><span>{% trans "Toggle mark as read and go to next article" %}</span></a></li>{% endif %} | 14 | {% if navigate.next %}<li><a title="{% trans "Mark as read and go to next article" %}" class="tool icon archiveandnext-icon" href="./?action=archive_and_next&id={{ entry.id|e }}" id="markAsReadAndNext"><span>{% trans "Toggle mark as read and go to next article" %}</span></a></li>{% endif %} |
@@ -27,7 +27,7 @@ | |||
27 | {% if constant('MOBI') == 1 %}<li><a href="./?mobi&method=id&value={{ entry.id|e }}" title="Generate Mobi file">MOBI</a></li>{% endif %} | 27 | {% if constant('MOBI') == 1 %}<li><a href="./?mobi&method=id&value={{ entry.id|e }}" title="Generate Mobi file">MOBI</a></li>{% endif %} |
28 | {% if constant('PDF') == 1 %}<li><a href="./?pdf&method=id&value={{ entry.id|e }}" title="Generate PDF file">PDF</a></li>{% endif %} | 28 | {% if constant('PDF') == 1 %}<li><a href="./?pdf&method=id&value={{ entry.id|e }}" title="Generate PDF file">PDF</a></li>{% endif %} |
29 | <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> | 29 | <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> |
30 | {% if navigate.next %}<li><a href="./?view=view&id={{ navigate.nextid|e }}" class="tool icon icon-next"><span>{% trans "Next Article" %}</span></a></li>{% endif %} | 30 | {% if navigate.previous %}<li class="rightPosF"><a href="./?view=view&id={{ navigate.previousid|e }}" class="tool icon icon-next"><span>{% trans "Previous Article" %}</span></a></li>{% endif %} |
31 | </ul> | 31 | </ul> |
32 | </div> | 32 | </div> |
33 | <div id="article"> | 33 | <div id="article"> |
@@ -103,5 +103,6 @@ | |||
103 | retrievePercent({{ entry.id|e }}); | 103 | retrievePercent({{ entry.id|e }}); |
104 | }); | 104 | }); |
105 | }); | 105 | }); |
106 | navigateKeyboard('?view=view&id={{ navigate.nextid|e }}','?view=view&id={{ navigate.previousid|e }}'); | ||
106 | </script> | 107 | </script> |
107 | {% endblock %} | 108 | {% endblock %} |