summaryrefslogtreecommitdiff
path: root/protected/views/myVeranstaltung/view.php
diff options
context:
space:
mode:
Diffstat (limited to 'protected/views/myVeranstaltung/view.php')
-rw-r--r--protected/views/myVeranstaltung/view.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/protected/views/myVeranstaltung/view.php b/protected/views/myVeranstaltung/view.php
index cb1ab82..4c66a23 100644
--- a/protected/views/myVeranstaltung/view.php
+++ b/protected/views/myVeranstaltung/view.php
@@ -13,7 +13,9 @@ $this->menu=array(
?>
<h1><?php echo $model->titel; ?></h1>
-
+<?php if(!$model->thisYear) {?>
+ <div class="box " style="background-color:yellow;"><h2>Achtung: Termin in der Vergangenheit</h2><p>Dieser Termin liegt in der Vergangenheit und wird nicht auf der Seite angezeigt werden.</p></div>
+<?php }?>
<?php $this->widget('zii.widgets.CDetailView', array(
'data'=>$model,
'attributes'=>array(