aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/admin
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/templates/admin')
-rw-r--r--pyaggr3g470r/templates/admin/create_user.html7
-rw-r--r--pyaggr3g470r/templates/admin/dashboard.html8
2 files changed, 5 insertions, 10 deletions
diff --git a/pyaggr3g470r/templates/admin/create_user.html b/pyaggr3g470r/templates/admin/create_user.html
index fcb59cd7..4e6c629f 100644
--- a/pyaggr3g470r/templates/admin/create_user.html
+++ b/pyaggr3g470r/templates/admin/create_user.html
@@ -9,11 +9,8 @@
<form action="" method="post" name="saveprofileform" id="profileform">
{{ form.hidden_tag() }}
- {{ form.firstname.label }}
- {{ form.firstname(class_="form-control") }} {% for error in form.firstname.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
-
- {{ form.lastname.label }}
- {{ form.lastname(class_="form-control") }} {% for error in form.lastname.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
+ {{ form.nickname.label }}
+ {{ form.nickname(class_="form-control") }} {% for error in form.nickname.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
{{ form.email.label }}
{{ form.email(class_="form-control") }} {% for error in form.email.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
diff --git a/pyaggr3g470r/templates/admin/dashboard.html b/pyaggr3g470r/templates/admin/dashboard.html
index 5c7fa5c1..4e60ad1d 100644
--- a/pyaggr3g470r/templates/admin/dashboard.html
+++ b/pyaggr3g470r/templates/admin/dashboard.html
@@ -9,18 +9,16 @@
<thead>
<tr>
<th>#</th>
- <th>{{ _('Firstname') }}</th>
- <th>{{ _('Lastname') }}</th>
+ <th>{{ _('Nickname') }}</th>
<th>{{ _('Email') }}</th>
<th>{{ _('Actions') }}</th>
</tr>
</thead>
<tbody>
- {% for user in users|sort(attribute="firstname") %}
+ {% for user in users|sort(attribute="nickname") %}
<tr>
<td>{{ loop.index }}</td>
- <td><a href="/admin/user/{{ user.id }}/">{{ user.firstname }}</a></td>
- <td>{{ user.lastname }}</td>
+ <td><a href="/admin/user/{{ user.id }}/">{{ user.nickname }}</a></td>
<td>{{ user.email }}</td>
<td>
<a href="/admin/user/{{ user.id }}/"><i class="glyphicon glyphicon-user" title="{{ _('View this user') }}<"></i></a>
bgstack15