summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAamir Khan <syst3m.w0rm@gmail.com>2012-06-25 22:13:53 -0400
committerAamir Khan <syst3m.w0rm@gmail.com>2012-06-25 22:13:53 -0400
commit64ffed99973417576e59741491443e5bfbd0f97c (patch)
tree792c37019b900c00abde40ee6d6bc0d2aade6ce1
parentc947283f97c94749a3a1ffc16f4bbd0ce538ade7 (diff)
downloadhyperkitty-64ffed99973417576e59741491443e5bfbd0f97c.tar.gz
hyperkitty-64ffed99973417576e59741491443e5bfbd0f97c.tar.xz
hyperkitty-64ffed99973417576e59741491443e5bfbd0f97c.zip
Basic user profile
-rw-r--r--templates/user_profile.html32
1 files changed, 28 insertions, 4 deletions
diff --git a/templates/user_profile.html b/templates/user_profile.html
index a4c21e9..67ece00 100644
--- a/templates/user_profile.html
+++ b/templates/user_profile.html
@@ -1,7 +1,31 @@
{% extends "base.html" %}
+{% load i18n %}
{% block content %}
-<p>
- User profiles are under contruction.
-</p>
-{% endblock %} \ No newline at end of file
+ <h1>User Profile <span>- {{ user }}</span></h1>
+
+ <table class="table table-bordered table-striped mm_userData">
+ <tbody>
+ <tr>
+ <th>{% trans 'User name' %}</th>
+ <td>{{ user.username}}</td>
+ </tr>
+ <tr>
+ <th>{% trans 'Firstname' %}</th>
+ <td>{{ user.first_name }}</td>
+ </tr>
+ <tr>
+ <th>{% trans 'Lastname' %}</th>
+ <td>{{ user.last_name }}</td>
+ </tr>
+ <tr>
+ <th>{% trans 'Email' %}</th>
+ <td>{{ user.email }}</td>
+ </tr>
+ <tr>
+ <th>{% trans 'Karma' %}</th>
+ <td></td>
+ </tr>
+ </tbody>
+ </table>
+{% endblock %}