diff --git a/Web/Presenters/templates/Group/View.xml b/Web/Presenters/templates/Group/View.xml index e09e3f5f..bc10caba 100644 --- a/Web/Presenters/templates/Group/View.xml +++ b/Web/Presenters/templates/Group/View.xml @@ -96,9 +96,48 @@
{var $avatarPhoto = $club->getAvatarPhoto()} {var $avatarLink = ((is_null($avatarPhoto) ? FALSE : $avatarPhoto->isAnonymous()) ? "/photo" . ("s/" . base_convert((string) $avatarPhoto->getId(), 10, 32)) : $club->getAvatarLink())} - - - +
+ {if !is_null($thisUser) && $club->canBeModifiedBy($thisUser)} + {if is_null($avatarPhoto) == true} + {_add_photo} + {else} + + + + {/if} + {/if} + {if is_null($avatarPhoto) == false} + + +