From c2cf7075c24c1539befd4ba09881eed761c9d769 Mon Sep 17 00:00:00 2001 From: Maryana Rozhankivska Date: Tue, 22 Apr 2014 10:45:09 +0300 Subject: print view fixed in baggy; print link added; read percent added in default theme; archive and favorite re-factored to be ajax action in article view --- themes/default/view.twig | 64 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 62 insertions(+), 2 deletions(-) (limited to 'themes/default/view.twig') diff --git a/themes/default/view.twig b/themes/default/view.twig index cc491c77..983cc1cd 100755 --- a/themes/default/view.twig +++ b/themes/default/view.twig @@ -7,14 +7,16 @@
  • {% trans "Return home" %}
  • {% trans "Back to top" %}
  • {{ entry.url | e | getDomain }}
  • -
  • {% trans "Toggle mark as read" %}
  • -
  • {% trans "Toggle favorite" %}
  • +
  • {% trans "Toggle mark as read" %}
  • +
  • {% trans "Toggle favorite" %}
  • {% trans "Delete" %}
  • {% if constant('SHARE_TWITTER') == 1 %}
  • {% endif %} {% 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 %} + {% if constant('SHOW_PRINTLINK') == 1 %}
  • {% trans "Print" %}
  • {% endif %}
  • {% trans "Does this article appear wrong?" %}
  • + {% if constant('SHOW_READPERCENT') == 1 %}
  • 0%
  • {% endif %}
    @@ -34,6 +36,60 @@