aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2017-06-01 23:41:57 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2017-06-01 23:41:57 +0200
commitde239ffba0d6954fc39a34e3c73110aea4e0afbb (patch)
tree5790aeb5e82f78d7722013840cd605021e6df7ca /src/web/templates
parentUpdated translations. (diff)
downloadnewspipe-de239ffba0d6954fc39a34e3c73110aea4e0afbb.tar.gz
newspipe-de239ffba0d6954fc39a34e3c73110aea4e0afbb.tar.bz2
newspipe-de239ffba0d6954fc39a34e3c73110aea4e0afbb.zip
Bookmarklet now get the title of the document.
Diffstat (limited to 'src/web/templates')
-rw-r--r--src/web/templates/edit_bookmark.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/templates/edit_bookmark.html b/src/web/templates/edit_bookmark.html
index da7c0eaa..efd9d775 100644
--- a/src/web/templates/edit_bookmark.html
+++ b/src/web/templates/edit_bookmark.html
@@ -66,7 +66,7 @@
<div class="row">
<div class="col-md-6 pull-right">
<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">Bookmark this page using Newspipe</a>', bookmarklet='javascript:window.location="%s?href="+encodeURIComponent(document.location)' % url_for('bookmark.bookmarklet', _external=True)) }}
+ {{ _('<a class="btn btn-default" href="%(bookmarklet)s" rel="bookmark">Bookmark this page using Newspipe</a>', bookmarklet='javascript:window.location="%s?href="+encodeURIComponent(document.location)+"&title="+document.title' % url_for('bookmark.bookmarklet', _external=True)) }}
</div>
<div class="col-md-6">
<form action="{{ url_for('bookmark.import_pinboard') }}" method="post" id="formImportPinboard" enctype="multipart/form-data">
bgstack15