aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/feed_list.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-16 08:42:36 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-16 08:42:36 +0100
commitf7aa2f39d500d95bdf6cd3c28741c7f1eb2d4fa6 (patch)
tree4c29e6ac003dc9cb0a01cc1c4bd58f7df5dc3df6 /src/web/templates/feed_list.html
parentI now know why my sessios was always lost on Heroku... (diff)
downloadnewspipe-f7aa2f39d500d95bdf6cd3c28741c7f1eb2d4fa6.tar.gz
newspipe-f7aa2f39d500d95bdf6cd3c28741c7f1eb2d4fa6.tar.bz2
newspipe-f7aa2f39d500d95bdf6cd3c28741c7f1eb2d4fa6.zip
Removed the possibility to see the list of feeds of a user. A new column in the table from of dashboard has been added.
Diffstat (limited to 'src/web/templates/feed_list.html')
-rw-r--r--src/web/templates/feed_list.html12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/web/templates/feed_list.html b/src/web/templates/feed_list.html
index 2cfab7d8..114ae960 100644
--- a/src/web/templates/feed_list.html
+++ b/src/web/templates/feed_list.html
@@ -34,14 +34,10 @@
<td><a href="{{ feed.site_link }}">{{ feed.site_link }}</a></td>
<td>( {{ unread_article_count.get(feed.id, 0) }} ) {{ article_count.get(feed.id, 0) }}</td>
<td>
- {% if feed.user_id == current_user.id %}
- <a href="{{ url_for("home", feed_id=feed.id, filter_="all") }}"><i class="glyphicon glyphicon-th-list" title="{{ _('Articles') }}"></i></a>
- <a href="{{ url_for("feed.form", feed_id=feed.id) }}"><i class="glyphicon glyphicon-edit" title="{{ _('Edit this feed') }}"></i></a>
- <a href="{{ url_for("feed.duplicates", feed_id=feed.id) }}"><i class="glyphicon glyphicon-book" title="{{ _('Duplicate articles') }}"></i></a>
- <a href="{{ url_for("feed.delete", feed_id=feed.id) }}"><i class="glyphicon glyphicon-remove" title="{{ _('Delete this feed') }}" onclick="return confirm('{{ _('You are going to delete this feed.') }}');"></i></a>
- {% else %}
- <a href="{{ url_for("admin.delete", feed_id=feed.id) }}"><i class="glyphicon glyphicon-remove" title="{{ _('Delete this feed') }}" onclick="return confirm('{{ _('You are going to delete this feed.') }}');"></i></a>
- {% endif %}
+ <a href="{{ url_for("home", feed_id=feed.id, filter_="all") }}"><i class="glyphicon glyphicon-th-list" title="{{ _('Articles') }}"></i></a>
+ <a href="{{ url_for("feed.form", feed_id=feed.id) }}"><i class="glyphicon glyphicon-edit" title="{{ _('Edit this feed') }}"></i></a>
+ <a href="{{ url_for("feed.duplicates", feed_id=feed.id) }}"><i class="glyphicon glyphicon-book" title="{{ _('Duplicate articles') }}"></i></a>
+ <a href="{{ url_for("feed.delete", feed_id=feed.id) }}"><i class="glyphicon glyphicon-remove" title="{{ _('Delete this feed') }}" onclick="return confirm('{{ _('You are going to delete this feed.') }}');"></i></a>
</td>
</tr>
{% endfor %}
bgstack15