From 9c55ed0923273da886497cb62302a79622e34a74 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sun, 7 Dec 2014 22:24:25 +0100 Subject: diaspora on all themes --- themes/baggy/css/main.css | 5 +++++ themes/baggy/view.twig | 2 +- themes/default/css/style-default.css | 5 +++++ themes/default/view.twig | 3 ++- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/themes/baggy/css/main.css b/themes/baggy/css/main.css index 2aad3aa7..1df82910 100755 --- a/themes/baggy/css/main.css +++ b/themes/baggy/css/main.css @@ -754,6 +754,11 @@ a.add-to-wallabag-link-after:after { background-image: url('../../_global/img/icons/carrot-icon--white.png'); } +/* Diaspora */ +.icon-image--diaspora { + background-image: url('../../_global/img/icons/diaspora-icon--black.png'); +}} + /* ========================================================================== Icon selected ========================================================================== */ diff --git a/themes/baggy/view.twig b/themes/baggy/view.twig index 37f1a984..9225d11b 100755 --- a/themes/baggy/view.twig +++ b/themes/baggy/view.twig @@ -15,7 +15,7 @@ {% if constant('SHARE_TWITTER') == 1 %}
  • {% endif %} {% if constant('SHARE_MAIL') == 1 %}
  • {% endif %} {% if constant('SHARE_SHAARLI') == 1 %}
  • {% trans "shaarli" %}
  • {% endif %} - {% if constant('SHARE_DIASPORA') == 1 %}
  • {% trans "diaspora" %}
  • {% endif %} + {% if constant('SHARE_DIASPORA') == 1 %}
  • {% trans "diaspora" %}
  • {% 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('CARROT') == 1 %}
  • Carrot
  • {% endif %} {% if constant('SHOW_PRINTLINK') == 1 %}
  • {% trans "Print" %}
  • {% endif %} diff --git a/themes/default/css/style-default.css b/themes/default/css/style-default.css index 6ff2aca6..4406d48f 100755 --- a/themes/default/css/style-default.css +++ b/themes/default/css/style-default.css @@ -43,6 +43,11 @@ a.carrot span { background-size: 16px 16px; } +a.diaspora span { + background-image: url('../../_global/img/icons/diaspora-icon--black.png'); + background-size: 16px 16px; +} + a.email span { background-image: url('../img/default/envelop.png'); } diff --git a/themes/default/view.twig b/themes/default/view.twig index 99e0e3c3..181e1284 100755 --- a/themes/default/view.twig +++ b/themes/default/view.twig @@ -14,6 +14,7 @@ {% if constant('SHARE_TWITTER') == 1 %}
  • {% endif %} {% if constant('SHARE_MAIL') == 1 %}
  • {% endif %} {% if constant('SHARE_SHAARLI') == 1 %}
  • {% trans "shaarli" %}
  • {% endif %} + {% if constant('SHARE_DIASPORA') == 1 %}
  • {% trans "diaspora" %}
  • {% 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('CARROT') == 1 %}
  • {% trans "carrot" %}
  • {% endif %} {% if constant('SHOW_PRINTLINK') == 1 %}
  • {% trans "Print" %}
  • {% endif %} @@ -118,4 +119,4 @@ } }); -{% endblock %} \ No newline at end of file +{% endblock %} -- cgit v1.2.3