summaryrefslogtreecommitdiff
path: root/protected/views/myVeranstaltung/view.php
diff options
context:
space:
mode:
authorPatrick Seeger <pseeger@ccwn.org>2012-05-20 16:58:26 +0200
committerPatrick Seeger <pseeger@ccwn.org>2012-05-20 16:58:26 +0200
commit4f959ffc80e64dc9ee8383826a546723d97305d9 (patch)
tree3a0704c0e3a9f44746739ccffa0d64acc5ab172d /protected/views/myVeranstaltung/view.php
parentacec2b5dc35302147f9a9c73d837dce2f3f9958e (diff)
parent9aad228e1af661b9b39df83700d27e71697dc66f (diff)
Merge branch 'master' of ssh://proxy.ccwn.org:9044/home/ccwn/git-repos/admin.astaf.de
Diffstat (limited to 'protected/views/myVeranstaltung/view.php')
-rw-r--r--protected/views/myVeranstaltung/view.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/protected/views/myVeranstaltung/view.php b/protected/views/myVeranstaltung/view.php
new file mode 100644
index 0000000..cb1ab82
--- /dev/null
+++ b/protected/views/myVeranstaltung/view.php
@@ -0,0 +1,28 @@
+<?php
+$this->breadcrumbs=array(
+ 'Unsere Veranstaltungen'=>array('index'),
+ $model->titel,
+);
+
+$this->menu=array(
+ array('label'=>'Unsere Veranstaltungen', 'url'=>array('index')),
+ array('label'=>'Neue Veranstaltung erstellen', 'url'=>array('create')),
+ array('label'=>'Diese Veranstaltung bearbeiten', 'url'=>array('update', 'id'=>$model->id)),
+ array('label'=>'Diese Veranstaltung löschen', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Wollen Sie diese Veranstaltung wirklich löschen?')),
+);
+?>
+
+<h1><?php echo $model->titel; ?></h1>
+
+<?php $this->widget('zii.widgets.CDetailView', array(
+ 'data'=>$model,
+ 'attributes'=>array(
+ //'verein_id',
+ //'titel',
+ array('label'=>'Startzeit', 'value'=>Format::displayDateTime($model->startzeit)),
+ array('label'=>'Endzeit', 'value'=>Format::displayDateTime($model->endzeit)),
+ 'beschreibung:html',
+ array('label'=>'Standort', 'value'=>($model->standort) ? $model->standort->name : null),
+ array('label'=>'Öffentlich', 'value'=>CHtml::image($model->published ? "images/ok.png" : "images/nok.png", $model->published ? "ok.png" : "nok.png"), 'type'=>'raw'),
+ ),
+)); ?>