From 6785fc8ab29495d12cfde8caa3d07375aa2e6246 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 4 Aug 2010 14:13:48 +0200 Subject: separated-out the invitation model again --- templates/apps/userprofile/home.html | 37 ++++++++++++++---------------------- 1 file changed, 14 insertions(+), 23 deletions(-) (limited to 'templates/apps/userprofile') diff --git a/templates/apps/userprofile/home.html b/templates/apps/userprofile/home.html index b97b5d8..34673db 100644 --- a/templates/apps/userprofile/home.html +++ b/templates/apps/userprofile/home.html @@ -1,33 +1,25 @@ -{% extends "base.html" %} -{% block js %} - {% endblock %} -{% block headline %}{{profile.display_name}}{% endblock %} -{% block title %}COIP - {{profile.display_name}} - Home{% endblock %} -{% block main %} +{% block content %}

Memberships

-
- {% for m in memberships %} +
+ {% for m in memberships.all %}
-

{{m.name.shortname}}

+

{{m.name.shortname}}

- You have been a member of {{m.name.shortname}} since {{m.timecreated}}
-
{{m.name.description}}

- More details about {{m.name.shortname}}... + You have been a member of {{m.name.shortname}} since {{m.timecreated}}
{% empty %} @@ -35,17 +27,16 @@ $(function() { {% endfor %}

Names

-
+
{% for n,p in names %} -
-

{{n.shortname}}

+
+

{{n.shortname}}

- You are allowed to {{p}} {{n.shortname}}
- More details about {{n.shortname}}... + You are allowed to {{p}} {{n.shortname}}
{% empty %} -

You do not own any names

+

You do not control any names

{% endfor %}
{% endblock %} \ No newline at end of file -- cgit v1.1