diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-11-08 08:02:43 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-11-08 08:02:43 +0100 |
commit | b187149a5f9f273e17551b72b4190f39a50f84fc (patch) | |
tree | 8f9a08048af827d98c897c51cfc94d0c1d75a95a | |
parent | Added internationalization script. (diff) | |
download | newspipe-b187149a5f9f273e17551b72b4190f39a50f84fc.tar.gz newspipe-b187149a5f9f273e17551b72b4190f39a50f84fc.tar.bz2 newspipe-b187149a5f9f273e17551b72b4190f39a50f84fc.zip |
Confirmation message before deleting old articles.
-rw-r--r-- | pyaggr3g470r/templates/management.html | 2 |
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> |