summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/apps/userprofile/home.html18
1 files changed, 17 insertions, 1 deletions
diff --git a/templates/apps/userprofile/home.html b/templates/apps/userprofile/home.html
index d769f6b..d635e53 100644
--- a/templates/apps/userprofile/home.html
+++ b/templates/apps/userprofile/home.html
@@ -6,13 +6,17 @@ $(function() {
$("#memberships").accordion({
header: 'h3'
});
+ $("#names").accordion({
+ header: 'h3'
+ });
});
</script>
{% endblock %}
{% block headline %}{{profile.display_name}}{% endblock %}
{% block title %}COIP - {{profile.display_name}} - Home{% endblock %}
{% block main %}
-<div id="memberships">
+<h3>Memberships</h3>
+<div id="memberships" style="width: 60%;">
{% for m in memberships %}
<div id="m{{m.id}}" class="{{m.status}}">
<h3 style="padding-left: 20px;">{{m.name.shortname}}</h3>
@@ -24,4 +28,16 @@ $(function() {
</div>
{% endfor %}
</div>
+<h3>Names</h3>
+<div id="names" style="width: 60%;">
+ {% for n,p in names %}
+ <div id="n{{n.id}}"">
+ <h3 style="padding-left: 20px;">{{n.shortname}}</h3>
+ <div>
+ You are allowed to {{p}} {{n.shortname}}<br/>
+ <a href="/name/id/{{n.id}}">More details about {{n.shortname}}...</a>
+ </div>
+ </div>
+ {% endfor %}
+</div>
{% endblock %} \ No newline at end of file