aboutsummaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-09-21 13:45:42 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-09-21 13:45:42 +0200
commitb8c6c3fcb833100cfeb4808a4e159fe935cf7ecc (patch)
tree58dcef4ed66c3cf6cebcb2fc5e87e558cc8697fe /src/web
parentUpdated CHANGELOG. (diff)
downloadnewspipe-b8c6c3fcb833100cfeb4808a4e159fe935cf7ecc.tar.gz
newspipe-b8c6c3fcb833100cfeb4808a4e159fe935cf7ecc.tar.bz2
newspipe-b8c6c3fcb833100cfeb4808a4e159fe935cf7ecc.zip
Add a new feed from the popular feeds page.
Diffstat (limited to 'src/web')
-rw-r--r--src/web/templates/popular.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/web/templates/popular.html b/src/web/templates/popular.html
index 6b2e9001..c4b42986 100644
--- a/src/web/templates/popular.html
+++ b/src/web/templates/popular.html
@@ -5,7 +5,12 @@
<ul class="list-group">
{% for feed in popular %}
<li class="list-group-item">
- <a href="{{ feed[0] }}">{{ feed[0] }}</a> <span class="badge">{{ feed[1] }}</span>
+ <a href="{{ feed[0] }}">{{ feed[0] }}</a>&nbsp
+ <a href="{{ url_for('feed.bookmarklet', url=feed[0]) }}" >
+ <span class="glyphicon glyphicon-plus text-muted" title="follow this feed"></span>
+ <span class="text-muted">add this feed</a>
+ </a>
+ <span class="badge">{{ feed[1] }}</span>
</li>
{% endfor %}
</ul>
bgstack15