diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-01-28 17:47:13 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-01-28 17:47:13 +0100 |
commit | f2c860df51e936b79f05794c17bfb0baf95befa3 (patch) | |
tree | 9d978f8830f15929b994effb7754c2598c93e0d8 /hyperkitty | |
parent | 106eaa2cbd1eed1e296d650cb120d1b6e7dd5c21 (diff) | |
download | hyperkitty-f2c860df51e936b79f05794c17bfb0baf95befa3.tar.gz hyperkitty-f2c860df51e936b79f05794c17bfb0baf95befa3.tar.xz hyperkitty-f2c860df51e936b79f05794c17bfb0baf95befa3.zip |
Small fixes on the user profile page
Diffstat (limited to 'hyperkitty')
-rw-r--r-- | hyperkitty/static/css/hyperkitty.css | 7 | ||||
-rw-r--r-- | hyperkitty/templates/user_profile.html | 10 |
2 files changed, 13 insertions, 4 deletions
diff --git a/hyperkitty/static/css/hyperkitty.css b/hyperkitty/static/css/hyperkitty.css index eabb4fe..4494736 100644 --- a/hyperkitty/static/css/hyperkitty.css +++ b/hyperkitty/static/css/hyperkitty.css @@ -105,6 +105,13 @@ ul.lists li a:hover { } +/* User profile page */ + +table.user-data { + width: auto; +} + + /* ******************* */ .right { diff --git a/hyperkitty/templates/user_profile.html b/hyperkitty/templates/user_profile.html index a0a86e4..491d75e 100644 --- a/hyperkitty/templates/user_profile.html +++ b/hyperkitty/templates/user_profile.html @@ -10,7 +10,7 @@ {% block content %} <h1>User Profile <span>- {{ user }}</span></h1> - <table class="table table-bordered table-striped mm_userData"> + <table class="table table-bordered table-striped user-data"> <tbody> <tr> <th>{% trans 'User name' %}</th> @@ -24,15 +24,17 @@ <th>{% trans 'Lastname' %}</th> <td>{{ user.last_name }}</td> </tr> - <tr> + <tr> <th>{% trans 'Email' %}</th> <td>{{ user.email }}</td> </tr> - <tr> + {% if use_mockups %} + <tr> <th>{% trans 'Karma' %}</th> <td>{{ user_profile.karma }}</td> </tr> - <tr> + {% endif %} + <tr> <th>{% trans 'Date Joined' %}</th> <td>{{ user.date_joined }}</td> </tr> |