aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/management.html
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-10-11 23:50:23 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2016-01-26 23:46:31 +0100
commit600391ac74a2ab29bd5c1f1433c14dae9ce6ea9b (patch)
tree58fb642ce53ef837411d6abf32d8caa5a62e9c06 /src/web/templates/management.html
parentremoving misplaced stuffs from views, more controllers use (diff)
downloadnewspipe-600391ac74a2ab29bd5c1f1433c14dae9ce6ea9b.tar.gz
newspipe-600391ac74a2ab29bd5c1f1433c14dae9ce6ea9b.tar.bz2
newspipe-600391ac74a2ab29bd5c1f1433c14dae9ce6ea9b.zip
moving 'expire_article' and improving its perf
Diffstat (limited to 'src/web/templates/management.html')
-rw-r--r--src/web/templates/management.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/templates/management.html b/src/web/templates/management.html
index ac4f3a4a..01179b5e 100644
--- a/src/web/templates/management.html
+++ b/src/web/templates/management.html
@@ -5,7 +5,7 @@
<h1>{{ _('Your subscriptions') }}</h1>
<p>{{ _('You are subscribed to') }} {{ nb_feeds }} <a href="/feeds">{{ _('feeds') }}</a>. <a href="{{ url_for("feed.form") }}">{{ _('Add') }}</a> {{ _('a feed') }}.</p>
<p>{{ nb_articles }} {{ _('articles are stored in the database with') }} {{ nb_unread_articles }} {{ _('unread articles') }}.</p>
- <a href="/expire_articles?weeks=10" class="btn btn-default" onclick="return confirm('{{ _('You are going to delete old articles.') }}');">{{ _('Delete articles older than 10 weeks') }}</a>
+ <a href="{{ url_for("articles.expire", weeks=10) }}" class="btn btn-default" onclick="return confirm('{{ _('You are going to delete old articles.') }}');">{{ _('Delete articles older than 10 weeks') }}</a>
</div>
<div class="well">
<h1 id="import">{{ _('OPML import/export') }}</h1>
bgstack15