aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-08 08:02:43 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-08 08:02:43 +0100
commitb187149a5f9f273e17551b72b4190f39a50f84fc (patch)
tree8f9a08048af827d98c897c51cfc94d0c1d75a95a /pyaggr3g470r/templates
parentAdded internationalization script. (diff)
downloadnewspipe-b187149a5f9f273e17551b72b4190f39a50f84fc.tar.gz
newspipe-b187149a5f9f273e17551b72b4190f39a50f84fc.tar.bz2
newspipe-b187149a5f9f273e17551b72b4190f39a50f84fc.zip
Confirmation message before deleting old articles.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/management.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/management.html b/pyaggr3g470r/templates/management.html
index cf641661..4a2de617 100644
--- a/pyaggr3g470r/templates/management.html
+++ b/pyaggr3g470r/templates/management.html
@@ -8,7 +8,7 @@
{% if not_on_heroku %}
<a href="/index_database" class="btn btn-default">{{ _('Index database') }}</a>
{% endif %}
- <a href="/expire_articles?weeks=10" class="btn btn-default">{{ _('Delete articles older than 10 weeks') }}</a>
+ <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>
</div>
<div class="jumbotron">
<h1>{{ _('Your Profile') }}</h1>
bgstack15