From 6a757e240e74b46d8c9d100882e50b5c7bc2d823 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 24 May 2017 08:37:33 +0200 Subject: A bookmarklet for bookmarks has been added. --- src/web/templates/edit_bookmark.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/web/templates') diff --git a/src/web/templates/edit_bookmark.html b/src/web/templates/edit_bookmark.html index 384e641c..573e3d7a 100644 --- a/src/web/templates/edit_bookmark.html +++ b/src/web/templates/edit_bookmark.html @@ -62,5 +62,11 @@ + {% if action == "Add a bookmark" %} +
+

{{ _('You can add a bookmark with a bookmarklet. Drag the following button to your browser bookmarks.') }}

+ {{ _('Manage your bookmarks using Newspipe', bookmarklet='javascript:window.location="%s?href="+encodeURIComponent(document.location)' % url_for('bookmark.bookmarklet', _external=True)) }} +
+ {% endif %} {% endblock %} -- cgit