summaryrefslogtreecommitdiff
path: root/protected/views/myVeranstaltung/view.php
diff options
context:
space:
mode:
authorTristan Zur <tzur@ccwn.org>2012-05-16 18:14:16 +0200
committerTristan Zur <tzur@ccwn.org>2012-05-16 18:14:16 +0200
commit3cb7fbfceae978d2b87ae976bf4536c3461bb868 (patch)
tree36d42842f3dfbc8a9598ea519792933bac99c3f8 /protected/views/myVeranstaltung/view.php
parent48f25c5eadd2a82a365b034a59b3cba4536a1e74 (diff)
Initiale Veranstaltungsverwaltung für die Vereine hinzugefügt
Diffstat (limited to 'protected/views/myVeranstaltung/view.php')
-rw-r--r--protected/views/myVeranstaltung/view.php30
1 files changed, 14 insertions, 16 deletions
diff --git a/protected/views/myVeranstaltung/view.php b/protected/views/myVeranstaltung/view.php
index 12ac308..cb1ab82 100644
--- a/protected/views/myVeranstaltung/view.php
+++ b/protected/views/myVeranstaltung/view.php
@@ -1,30 +1,28 @@
<?php
$this->breadcrumbs=array(
- 'Veranstaltungs'=>array('index'),
- $model->id,
+ 'Unsere Veranstaltungen'=>array('index'),
+ $model->titel,
);
$this->menu=array(
- array('label'=>'List Veranstaltung', 'url'=>array('index')),
- array('label'=>'Create Veranstaltung', 'url'=>array('create')),
- array('label'=>'Update Veranstaltung', 'url'=>array('update', 'id'=>$model->id)),
- array('label'=>'Delete Veranstaltung', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
- array('label'=>'Manage Veranstaltung', 'url'=>array('admin')),
+ 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>View Veranstaltung #<?php echo $model->id; ?></h1>
+<h1><?php echo $model->titel; ?></h1>
<?php $this->widget('zii.widgets.CDetailView', array(
'data'=>$model,
'attributes'=>array(
- 'id',
- 'verein_id',
- 'titel',
- 'startzeit',
- 'endzeit',
- 'beschreibung',
- 'standort_id',
- 'published',
+ //'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'),
),
)); ?>