diff options
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r-- | pyaggr3g470r/templates/admin/create_user.html | 7 | ||||
-rw-r--r-- | pyaggr3g470r/templates/admin/dashboard.html | 8 | ||||
-rw-r--r-- | pyaggr3g470r/templates/opml.xml | 4 | ||||
-rw-r--r-- | pyaggr3g470r/templates/profile.html | 7 | ||||
-rw-r--r-- | pyaggr3g470r/templates/signup.html | 7 |
5 files changed, 11 insertions, 22 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> diff --git a/pyaggr3g470r/templates/opml.xml b/pyaggr3g470r/templates/opml.xml index 07d2b3d9..96fe66f5 100644 --- a/pyaggr3g470r/templates/opml.xml +++ b/pyaggr3g470r/templates/opml.xml @@ -2,10 +2,10 @@ <!-- OPML generated by pyAggr3g470r on {{ now | datetime }} --> <opml version="1.1"> <head> - <title>Feeds of {{ user.firstname }}</title> + <title>Feeds of {{ user.nickname }}</title> <dateCreated>{{ now | datetime }}</dateCreated> <dateModified>{{ now | datetime }}</dateModified> - <ownerName>{{ user.firstname }} {{ user.lastname }}</ownerName> + <ownerName>{{ user.nickname }}</ownerName> <ownerEmail>{{ user.email }}</ownerEmail> </head> <body> diff --git a/pyaggr3g470r/templates/profile.html b/pyaggr3g470r/templates/profile.html index 0bad12ee..b7467329 100644 --- a/pyaggr3g470r/templates/profile.html +++ b/pyaggr3g470r/templates/profile.html @@ -5,11 +5,8 @@ <form action="" method="post" name="save"> {{ 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/signup.html b/pyaggr3g470r/templates/signup.html index 9c2ad32c..6644d4f1 100644 --- a/pyaggr3g470r/templates/signup.html +++ b/pyaggr3g470r/templates/signup.html @@ -5,11 +5,8 @@ <form action="" method="post" name="save"> {{ 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 %} |