diff options
Diffstat (limited to 'templates/apps')
-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 |