summaryrefslogtreecommitdiffstats
path: root/application/views/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/scripts')
-rw-r--r--application/views/scripts/event/index.phtml7
1 files changed, 4 insertions, 3 deletions
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index ead7c81..4de3771 100644
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -44,8 +44,10 @@ if(count($this->eventlist)>0) {
<?php
foreach ($this->eventlist as $pool => $poolEvents):
- if(count($poolEvents)==0)
+ if(count($poolEvents)==0) {
+ echo "This Pool hasn't events yet";
break;
+ }
?>
<div id='pool<?php echo $poolEvents[0]['pbs_poolID'] ?>' style='display:none;' >
<h2><?php echo $pool; ?></h2>
@@ -111,8 +113,7 @@ if(count($this->eventlist)>0) {
<?php endforeach ?>
</div>
<?php endforeach ?>
-<?php } else
- echo "You haven't events yet"; ?>
+<?php } ?>
</div>
<br />
<br /> \ No newline at end of file