summaryrefslogtreecommitdiffstats
path: root/hyperkitty
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty')
-rw-r--r--hyperkitty/static/css/hyperkitty.css7
-rw-r--r--hyperkitty/templates/user_profile.html10
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>