From 880a0e1c0ba7d0ab3320678b076402379a08c8a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 7 Oct 2015 18:08:51 +0200 Subject: implement bookmarklet --- .../CoreBundle/Resources/views/themes/baggy/Static/howto.html.twig | 4 ++-- src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig | 1 + .../CoreBundle/Resources/views/themes/material/Static/howto.html.twig | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src/Wallabag/CoreBundle/Resources/views/themes') diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Static/howto.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Static/howto.html.twig index 58cb316b..6a320692 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Static/howto.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Static/howto.html.twig @@ -22,7 +22,7 @@

{% trans %}Bookmarklet{% endtrans %}

- {% trans %}Drag & drop this link to your bookmarks bar:{% endtrans %} {% trans %}bag it!{% endtrans %} -

+ {% trans %}Drag & drop this link to your bookmarks bar:{% endtrans %} + {% include 'WallabagCoreBundle::_bookmarklet.html.twig' %} {% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig index de4ed2e7..26de7943 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig @@ -51,6 +51,7 @@
  • {% trans %}config{% endtrans %}
  • +
  • {% trans %}howto{% endtrans %}
  • {% trans %}about{% endtrans %}
  • {% trans %}logout{% endtrans %}
  • diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/howto.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/howto.html.twig index 78591172..63b51aaa 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/howto.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/howto.html.twig @@ -42,7 +42,8 @@
    - {% trans %}Drag & drop this link to your bookmarks bar:{% endtrans %} {% trans %}bag it!{% endtrans %} + {% trans %}Drag & drop this link to your bookmarks bar:{% endtrans %} + {% include 'WallabagCoreBundle::_bookmarklet.html.twig' %}
    -- cgit v1.2.3