diff options
author | Leif Johansson <leifj@sunet.se> | 2010-07-06 21:55:44 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2010-07-06 21:55:44 +0200 |
commit | 7921132788e55c0714af8b33ed2105ff6a1dba54 (patch) | |
tree | df995bce2c95830ccace570e3ec059232fef3ac4 /templates/apps/userprofile/home.html | |
parent | 7698ee1fe6bd40108fbe48bb641ea99a5b8f2bef (diff) |
cleanup and working membership list
Diffstat (limited to 'templates/apps/userprofile/home.html')
-rw-r--r-- | templates/apps/userprofile/home.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/apps/userprofile/home.html b/templates/apps/userprofile/home.html new file mode 100644 index 0000000..072760f --- /dev/null +++ b/templates/apps/userprofile/home.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} +{% block js %} +<script type="text/javascript"> +$(function() { + $("#gravatar").append($.gravatar($('#email').text())); + $("#memberships").accordion({ + header: 'h3' + }); +}); +</script> +{% endblock %} +{% block headline %}{{profile.display_name}}{% endblock %} +{% block title %}COIP - {{profile.display_name}} - Home{% endblock %} +{% block main %} +<div id="memberships"> + {% for m in memberships %} + <div id="m{{m.id}}" class="{{m.status}}"> + <h3 style="padding-left: 20px;">{{m.name.shortname}}</h3> + <div> + You hae been a member of {{m.name.shortname}} since {{m.timecreated}}<br/> + <div>{{m.name.description}}</div></br> + <a href="/name/id/{{m.name.id}}">More details about {{m.name.shortname}}...</a> + </div> + </div> + {% endfor %} +</div> +{% endblock %}
\ No newline at end of file |