aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/admin
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-24 13:32:05 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-24 13:32:05 +0200
commit76d7b6deecd58609af2504570ac9fe4e07677fec (patch)
treecd4a2a3abaedef6deb929bc920e94eaa69d051ff /pyaggr3g470r/templates/admin
parentUpdated README. (diff)
downloadnewspipe-76d7b6deecd58609af2504570ac9fe4e07677fec.tar.gz
newspipe-76d7b6deecd58609af2504570ac9fe4e07677fec.tar.bz2
newspipe-76d7b6deecd58609af2504570ac9fe4e07677fec.zip
Removed trailing slashes from the routes.
Diffstat (limited to 'pyaggr3g470r/templates/admin')
-rw-r--r--pyaggr3g470r/templates/admin/dashboard.html16
-rw-r--r--pyaggr3g470r/templates/admin/user.html2
2 files changed, 9 insertions, 9 deletions
diff --git a/pyaggr3g470r/templates/admin/dashboard.html b/pyaggr3g470r/templates/admin/dashboard.html
index 3e5b019e..6253ca62 100644
--- a/pyaggr3g470r/templates/admin/dashboard.html
+++ b/pyaggr3g470r/templates/admin/dashboard.html
@@ -20,29 +20,29 @@
<tr>
<td>{{ loop.index }}</td>
{% if user.id == current_user.id %}
- <td><a href="/management/">{{ user.nickname }}</a> (It's you!)</td>
+ <td><a href="/management">{{ user.nickname }}</a> (It's you!)</td>
{% else %}
- <td><a href="/admin/user/{{ user.id }}/">{{ user.nickname }}</a></td>
+ <td><a href="/admin/user/{{ user.id }}">{{ user.nickname }}</a></td>
{% endif %}
<td><a href="mailto:{{ user.email }}">{{ user.email }}</a></td>
<td>{{ user.last_seen }}</td>
<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/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>
{% if user.id != current_user.id %}
{% if user.activation_key == "" %}
- <a href="/admin/disable_user/{{ user.id }}/"><i class="glyphicon glyphicon-ban-circle" title="Disable this account"></i></a>
+ <a href="/admin/disable_user/{{ user.id }}"><i class="glyphicon glyphicon-ban-circle" title="Disable this account"></i></a>
{% else %}
- <a href="/admin/enable_user/{{ user.id }}/"><i class="glyphicon glyphicon-ok-circle" title="Enable this account"></i></a>
+ <a href="/admin/enable_user/{{ user.id }}"><i class="glyphicon glyphicon-ok-circle" title="Enable this account"></i></a>
{% endif %}
- <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>
+ <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>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
-<a href="/admin/create_user/" class="btn btn-default">{{ _('Add a new user') }}</a>
+<a href="/admin/create_user" class="btn btn-default">{{ _('Add a new user') }}</a>
<h1>{{ _('Send notification messages') }}</h1>
<form action="" method="post">
{{ form.hidden_tag() }}
diff --git a/pyaggr3g470r/templates/admin/user.html b/pyaggr3g470r/templates/admin/user.html
index d896e85f..8f911b92 100644
--- a/pyaggr3g470r/templates/admin/user.html
+++ b/pyaggr3g470r/templates/admin/user.html
@@ -5,7 +5,7 @@
{% block content %}
<div class="container">
<div class="jumbotron">
- <a href="/admin/edit_user/{{ user.id }}/" class="btn btn-default">{{ _('Edit this user') }}</a>
+ <a href="/admin/edit_user/{{ user.id }}" class="btn btn-default">{{ _('Edit this user') }}</a>
<h2>{{ _('Membership') }}</h2>
<div class="row">
<div class="col-md-6">
bgstack15