blob: fa8100990ea48e7b4e1774978ae1f83b42b463fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{% extends "base.html" %}
{% block js %}
<script type="text/javascript">
$(function() {
$("#gravatar").append($.gravatar($('#email').text()));
$("#memberships").accordion({
header: 'h3',
collapsible: true,
active: false
});
$("#names").accordion({
header: 'h3',
collapsible: true,
active: false
});
});
</script>
{% endblock %}
{% block headline %}{{profile.display_name}}{% endblock %}
{% block title %}COIP - {{profile.display_name}} - Home{% endblock %}
{% block main %}
<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>
<div>
You have 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>
<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 %}
|