summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hyperkitty/static/css/hyperkitty.css20
-rw-r--r--hyperkitty/templates/user_profile.html7
2 files changed, 26 insertions, 1 deletions
diff --git a/hyperkitty/static/css/hyperkitty.css b/hyperkitty/static/css/hyperkitty.css
index ec4f136..5ef49e0 100644
--- a/hyperkitty/static/css/hyperkitty.css
+++ b/hyperkitty/static/css/hyperkitty.css
@@ -166,8 +166,26 @@ h1.lists {
margin-top: 2em;
}
+#user-profile form {
+ float: left;
+}
+
+#user-profile div.gravatar {
+ /*float: right;*/
+ float: left;
+ width: auto;
+ font-size: 95%;
+ margin-left: 4em;
+}
+#user-profile img.gravatar {
+ width: auto;
+}
+#user-profile .gravatar p {
+ text-align: center;
+}
+
+
table.user-data {
- margin-top: 2em;
width: auto;
}
table.user-data th label {
diff --git a/hyperkitty/templates/user_profile.html b/hyperkitty/templates/user_profile.html
index 10f8a04..ff154a8 100644
--- a/hyperkitty/templates/user_profile.html
+++ b/hyperkitty/templates/user_profile.html
@@ -1,6 +1,7 @@
{% extends "base.html" %}
{% load i18n %}
{% load hk_generic %}
+{% load gravatar %}
{% block title %}
@@ -44,6 +45,12 @@
</p>
</form>
+ <div class="gravatar">
+ <a href="http://gravatar.com/">{% gravatar user.email 150 %}</a>
+ <p><a href="http://gravatar.com/">Edit on gravatar.com</a></p>
+ </div>
+
+ <div class="clearfix"></div>
<h3>Favorites</h3>
{% if favorites %}