summaryrefslogtreecommitdiffstats
path: root/application/modules/user/views/scripts/group
diff options
context:
space:
mode:
authorSimon2011-04-07 11:31:34 +0200
committerSimon2011-04-07 11:31:34 +0200
commit7aa366700dc1e4d4b36ee7cc10d33823b2b3d74d (patch)
tree8cc19767031b7ede7ef39cc9cedfc8f0e562ff39 /application/modules/user/views/scripts/group
parentLayout bei "Members in Group" (diff)
downloadpbs2-7aa366700dc1e4d4b36ee7cc10d33823b2b3d74d.tar.gz
pbs2-7aa366700dc1e4d4b36ee7cc10d33823b2b3d74d.tar.xz
pbs2-7aa366700dc1e4d4b36ee7cc10d33823b2b3d74d.zip
Layout in Person und Group
Diffstat (limited to 'application/modules/user/views/scripts/group')
-rw-r--r--application/modules/user/views/scripts/group/show.phtml18
1 files changed, 17 insertions, 1 deletions
diff --git a/application/modules/user/views/scripts/group/show.phtml b/application/modules/user/views/scripts/group/show.phtml
index 306a279..a869c76 100644
--- a/application/modules/user/views/scripts/group/show.phtml
+++ b/application/modules/user/views/scripts/group/show.phtml
@@ -111,12 +111,28 @@ if($this->groupID) {
</div>
<div class='title'><?php echo $person->getFirstname(); ?> <?php echo $person->getName(); ?></div>
<div class='subtitle'>Role: <?php echo $role->getTitle(); ?></div>
+ <div class='details dispnone'>
+ <label>Email</label>
+ <div class='item'><?php echo $person->getEmail(); ?></div>
+ <label>City</label>
+ <div class='item'><?php echo $person->getCity(); ?></div>
+ </div>
</div>
<div class='clear'></div>
</div>
<?php endforeach ?>
</div>
-
+<script>
+$(document).ready(function(){
+ if($('.element').find('.dispnone').length >= 1){
+ $(this).find('.title').css('cursor','pointer');
+
+ $('.title').click(function(){
+ $(this).siblings('.dispnone').toggle();
+ });
+ }
+});
+</script>
<?php echo $this->memberPagination; ?>
<?php
}