summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-03-09 14:23:44 +0100
committerLeif Johansson <leifj@sunet.se>2011-03-09 14:23:44 +0100
commitefecbad49d56079212bec02264df0b8b55d4b00e (patch)
treedb65a0f21ce948fc2e57a9653e8444cbb52f5c76 /templates
parentbc3690c74042bd29f1d473e4a53085b3defb92ad (diff)
more dashboard tweaks
Diffstat (limited to 'templates')
-rw-r--r--templates/apps/userprofile/home.html8
-rw-r--r--templates/base.html3
2 files changed, 8 insertions, 3 deletions
diff --git a/templates/apps/userprofile/home.html b/templates/apps/userprofile/home.html
index 56154a7..147632b 100644
--- a/templates/apps/userprofile/home.html
+++ b/templates/apps/userprofile/home.html
@@ -7,12 +7,14 @@
$("#names").accordion({
header: 'h3',
collapsible: true,
- active: false
+ active: false,
+ autoHeight: false
});
$("#memberships").accordion({
header: 'h3',
collapsible: true,
- active: false
+ active: false,
+ autoHeight: false
});
{% endblock %}
{% block content %}
@@ -24,7 +26,7 @@
<h3 class="listheader">{{m.name.shortname}}</h3>
<div>
<div>
- You became a member of {{m.name.shortname}} {{m.timecreated|datehumanize}}
+ You became a member of <a href="{{m.name.url}}">{{m.name.shortname}}</a> {{m.timecreated|datehumanize}}
{% if m.tags %}<h4>Role{{m.tags|pluralize}}</h4>
<ul class="clist">{% for tag in m.tags %}<li>{{ tag|escape }}</li>{%endfor%}</ul>{%endif%}
</div>
diff --git a/templates/base.html b/templates/base.html
index 4061643..5440afc 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -77,6 +77,9 @@
<ul>
<li class="button"><a id="logout" href="/accounts/logout">Logout</a></li>
</ul>
+ <ul>
+ <li class="button"><a id="dashboard" href="/user/home">Dashboard</a></li>
+ </ul>
</div>
{% endif %}
{% if noname %}