summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Geiger2011-07-05 18:14:37 +0200
committerBjörn Geiger2011-07-05 18:14:37 +0200
commit18309ff203c171d609c58a56df1b6d696b7f96f8 (patch)
tree12d7a4687a514309580d11dd1dabd020c5ba7c78
parentnochmals Korrektur (diff)
downloadpoolctrl-18309ff203c171d609c58a56df1b6d696b7f96f8.tar.gz
poolctrl-18309ff203c171d609c58a56df1b6d696b7f96f8.tar.xz
poolctrl-18309ff203c171d609c58a56df1b6d696b7f96f8.zip
minor
-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