summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2011-05-10 12:58:13 +0200
committerJohan Lundberg <lundberg@nordu.net>2011-05-10 12:58:13 +0200
commit15b13700f147e3a454bec63276e6c77ffa00fb37 (patch)
tree8eb56c82c3ae00a7ee822586b3c7d43172bb150b
parent996a068062ba1d592eefb96868362c3a4f3edbd1 (diff)
Minor fix.
-rw-r--r--templates/changepw/index.html2
-rw-r--r--templates/changepw/reset_password.html5
2 files changed, 3 insertions, 4 deletions
diff --git a/templates/changepw/index.html b/templates/changepw/index.html
index ef9a95b..40dd8b3 100644
--- a/templates/changepw/index.html
+++ b/templates/changepw/index.html
@@ -5,7 +5,7 @@
{% block content %}
<h2>Password Manager</h2>
<p>
- Hello {{ full_name }},<br />
+ Hello {{ full_name|capfirst }},<br />
Welcome to the password management site.
</p>
diff --git a/templates/changepw/reset_password.html b/templates/changepw/reset_password.html
index a9e49e2..d231f51 100644
--- a/templates/changepw/reset_password.html
+++ b/templates/changepw/reset_password.html
@@ -4,15 +4,14 @@
{% block title %}Password reset{% endblock %}
{% block content %}
<h2>Password reset</h2>
-
{% if return_value == 0 %}
<p>Here is your new password:</p>
<table>
<tr>
- <td>Username:</td><td>{{ username }}</td>
+ <th>Username:</th><td>{{ username }}</td>
</tr>
<tr>
- <td>Password:</td><td>{{ username }}/ppp</td>
+ <th>Password:</th><td>{{ new_password }}</td>
</tr>
</table>
{% else %}