summaryrefslogtreecommitdiff
path: root/protected/views/veranstaltung
diff options
context:
space:
mode:
authorPatrick Seeger <pseeger@ccwn.org>2012-06-26 16:59:26 +0200
committerPatrick Seeger <pseeger@ccwn.org>2012-06-26 16:59:26 +0200
commitd7f3ac205ced0e1f1c26599b277cbfb988e48900 (patch)
treefa2f976c67ee8d47146d07689982607dcaf92d3b /protected/views/veranstaltung
parent66e981bd3d3f9946afed0efbcaf8efa7907c530f (diff)
Anzeige optimiert, Vereine und Veranstaltungen veröffentlicht
Diffstat (limited to 'protected/views/veranstaltung')
-rw-r--r--protected/views/veranstaltung/index.php13
-rw-r--r--protected/views/veranstaltung/now.php2
-rw-r--r--protected/views/veranstaltung/view.php2
3 files changed, 13 insertions, 4 deletions
diff --git a/protected/views/veranstaltung/index.php b/protected/views/veranstaltung/index.php
index e8a5ceb..3703092 100644
--- a/protected/views/veranstaltung/index.php
+++ b/protected/views/veranstaltung/index.php
@@ -5,13 +5,22 @@ $this->breadcrumbs=array(
$this->menu=array(
array('label'=>'Jetzt auf dem Fest', 'url'=>array('now')),
- array('label'=>'Veranstaltung suchen', 'url'=>array('search')),
+ //array('label'=>'Veranstaltung suchen', 'url'=>array('search')),
);?>
<h3>Veranstaltungen</h3>
-<?php $this->widget('zii.widgets.grid.CGridView', array(
+<?php $this->widget('zii.widgets.CListView', array(
+ 'dataProvider'=>$model->published()->sorted()->search(),
+ 'itemView'=>'_short_all', // refers to the partial view named '_post'
+ 'sortableAttributes'=>array(
+ 'startzeit', 'titel'
+ /*'create_time'=>'Post Time',*/
+ ),
+ ));
+
+ $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'veranstaltung-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
diff --git a/protected/views/veranstaltung/now.php b/protected/views/veranstaltung/now.php
index 12202ba..24354f2 100644
--- a/protected/views/veranstaltung/now.php
+++ b/protected/views/veranstaltung/now.php
@@ -7,7 +7,7 @@ $this->menu=array(
array('label'=>'Alle Veranstaltungen', 'url'=>array('index')),
array('label'=>'Jetzt auf dem Fest', 'url'=>array('now')),
- array('label'=>'Veranstaltung suchen', 'url'=>array('search')),
+ //array('label'=>'Veranstaltung suchen', 'url'=>array('search')),
);?>
diff --git a/protected/views/veranstaltung/view.php b/protected/views/veranstaltung/view.php
index e942aee..edf3ca2 100644
--- a/protected/views/veranstaltung/view.php
+++ b/protected/views/veranstaltung/view.php
@@ -7,7 +7,7 @@ $this->breadcrumbs=array(
$this->menu=array(
array('label'=>'Alle Veranstaltungen', 'url'=>array('index')),
array('label'=>'Jetzt auf dem Fest', 'url'=>array('now')),
- array('label'=>'Veranstaltung suchen', 'url'=>array('search')),
+ // array('label'=>'Veranstaltung suchen', 'url'=>array('search')),
);
?>