diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-04 22:13:10 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-04 22:13:10 +0200 |
commit | 6445823625cbdede363a0236848adc7c4682aa70 (patch) | |
tree | e5734ecbc3cdc53a9f724f07cfc2ac828f69d6b0 /pyaggr3g470r/templates/admin | |
parent | The user has now the possibility to delete it's account. (diff) | |
download | newspipe-6445823625cbdede363a0236848adc7c4682aa70.tar.gz newspipe-6445823625cbdede363a0236848adc7c4682aa70.tar.bz2 newspipe-6445823625cbdede363a0236848adc7c4682aa70.zip |
Confirmation message before suppression of accounts and suppression of feeds.
Diffstat (limited to 'pyaggr3g470r/templates/admin')
-rw-r--r-- | pyaggr3g470r/templates/admin/dashboard.html | 2 | ||||
-rw-r--r-- | pyaggr3g470r/templates/admin/user.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/templates/admin/dashboard.html b/pyaggr3g470r/templates/admin/dashboard.html index a9b3e546..5c7fa5c1 100644 --- a/pyaggr3g470r/templates/admin/dashboard.html +++ b/pyaggr3g470r/templates/admin/dashboard.html @@ -25,7 +25,7 @@ <td> <a href="/admin/user/{{ user.id }}/"><i class="glyphicon glyphicon-user" title="{{ _('View this user') }}<"></i></a> <a href="/admin/edit_user/{{ user.id }}/"><i class="glyphicon glyphicon-edit" title="{{ _('Edit this user') }}"></i></a> - <a href="/admin/delete_user/{{ user.id }}/"><i class="glyphicon glyphicon-remove" title="{{ _('Delete this user') }}"></i></a> + <a href="/admin/delete_user/{{ user.id }}/"><i class="glyphicon glyphicon-remove" title="{{ _('Delete this user') }}" onclick="return confirm('{{ _('You are going to delete this account.') }}');"></i></a> </td> </tr> {% endfor %} diff --git a/pyaggr3g470r/templates/admin/user.html b/pyaggr3g470r/templates/admin/user.html index b7148617..3e2d7f3e 100644 --- a/pyaggr3g470r/templates/admin/user.html +++ b/pyaggr3g470r/templates/admin/user.html @@ -44,7 +44,7 @@ <td> <a href="/feed/{{ feed.id }}"><i class="glyphicon glyphicon-th-list" title="{{ _('Feed') }}"></i></a> <a href="/edit_feed/{{ feed.id }}"><i class="glyphicon glyphicon-edit" title="{{ _('Edit this feed') }}"></i></a> - <a href="/delete_feed/{{ feed.id }}"><i class="glyphicon glyphicon-remove" title="{{ _('Delete this feed') }}"></i></a> + <a href="/delete_feed/{{ feed.id }}"><i class="glyphicon glyphicon-remove" title="{{ _('Delete this feed') }}" onclick="return confirm('{{ _('You are going to delete this feed.') }}');"></i></a> </td> {% endfor %} </tbody> |