summaryrefslogtreecommitdiffstats
path: root/application/modules/user/views/scripts/group/show.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/views/scripts/group/show.phtml')
-rw-r--r--application/modules/user/views/scripts/group/show.phtml17
1 files changed, 15 insertions, 2 deletions
diff --git a/application/modules/user/views/scripts/group/show.phtml b/application/modules/user/views/scripts/group/show.phtml
index 19dc396..2bb200c 100644
--- a/application/modules/user/views/scripts/group/show.phtml
+++ b/application/modules/user/views/scripts/group/show.phtml
@@ -83,13 +83,26 @@ foreach($this->groupRequestList as $grouprequest) {
<br />
<h2>Members:</h2>
<div class='listelement'><?php if(count($this->membersList)==0)
-echo "This hroup has no members." ?> <?php foreach ($this->membersList as $member): ?>
+echo "This hroup has no members." ?> <?php foreach ($this->membersList as $k => $member): ?>
<?php
$membershipID = $member['membershipID'];
$person = $member['person'];
$role = $member['role'];
+$class='';
+if($person->getID() == $this->userIDsNamespace['personID'])
+$class= 'highlight checked';
+?>
+<div class='element<?php echo " $class";?>'>
+<?php
+if($person->getID() != $this->userIDsNamespace['personID']) {
+ ?>
+ <div class='number'>
+ <div class='smallnumber'>Person</div>
+ <?php echo $k+1; ?>
+ </div>
+<?php
+}
?>
-<div class='element'>
<div class='content'>
<div class='actions'><a
href="<?php echo $this->url(