From d1943610c7400ea869df75290ce6cd12eecfad5d Mon Sep 17 00:00:00 2001 From: Jimmy Tobin Date: Tue, 6 Sep 2011 13:01:57 -0700 Subject: [PATCH] Changed Group layout --- deme_django/cms/templates/group/show.html | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/deme_django/cms/templates/group/show.html b/deme_django/cms/templates/group/show.html index 170665e5..c72f0c2b 100755 --- a/deme_django/cms/templates/group/show.html +++ b/deme_django/cms/templates/group/show.html @@ -2,12 +2,25 @@ {% load item_tags %} {% block content %} -{% subclassfields %}
Members
-
-

{{ Group.description }}

-

Group Description

+ +
+ {% if item.image %} + {% ifagentcan 'view Group.image' item %} + {% ifagentcan 'view FileDocument.datafile' item.image %} + + {% endifagentcan %} + {% endifagentcan %} + {% endif %} +

Group Image

+ + {% ifagentcan 'view Item.description' item %} +

{{ item.description }}

+ {% else %} +

YOU CANNOT VIEW THIS FIELD

+ {% endifagentcan %} +

Group Description

{% embed 'collection' item %}