diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-05-24 08:37:33 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-05-24 08:37:33 +0200 |
commit | 6a757e240e74b46d8c9d100882e50b5c7bc2d823 (patch) | |
tree | 5e9a1bdb6cdcfec9ea860ada844c27b19cd1a080 /src/web/templates | |
parent | Updated README. (diff) | |
download | newspipe-6a757e240e74b46d8c9d100882e50b5c7bc2d823.tar.gz newspipe-6a757e240e74b46d8c9d100882e50b5c7bc2d823.tar.bz2 newspipe-6a757e240e74b46d8c9d100882e50b5c7bc2d823.zip |
A bookmarklet for bookmarks has been added.
Diffstat (limited to 'src/web/templates')
-rw-r--r-- | src/web/templates/edit_bookmark.html | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ </div> </form> </div> + {% if action == "Add a bookmark" %} + <div> + <p>{{ _('You can add a bookmark with a bookmarklet. Drag the following button to your browser bookmarks.') }}</p> + {{ _('<a class="btn btn-default" href="%(bookmarklet)s" rel="bookmark">Manage your bookmarks using Newspipe</a>', bookmarklet='javascript:window.location="%s?href="+encodeURIComponent(document.location)' % url_for('bookmark.bookmarklet', _external=True)) }} + </div> + {% endif %} </div><!-- /.container --> {% endblock %} |