summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protected/views/standort/_standort.php7
-rw-r--r--protected/views/standort/view.php2
2 files changed, 5 insertions, 4 deletions
diff --git a/protected/views/standort/_standort.php b/protected/views/standort/_standort.php
index 1ba0d5b..dd978dc 100644
--- a/protected/views/standort/_standort.php
+++ b/protected/views/standort/_standort.php
@@ -8,14 +8,13 @@ $dataProvider=new CActiveDataProvider('Verein', array(
'pageSize'=>20,
),
-));/*
+));
$this->widget('zii.widgets.CListView', array(
- //'dataProvider'=>$dataProvider,
- 'dataProvider'=>Veranstaltung::model('Veranstaltung')->published()->thisYear()->parentStage($data->id)->sorted()->search(),
+ 'dataProvider'=>$dataProvider,
'itemView'=>'/verein/_short',
'sortableAttributes'=>array(
'name'
)
));
- */
+
?> \ No newline at end of file
diff --git a/protected/views/standort/view.php b/protected/views/standort/view.php
index 098f397..95fc434 100644
--- a/protected/views/standort/view.php
+++ b/protected/views/standort/view.php
@@ -55,5 +55,7 @@ if("Stand" == $model->type) {
$this->renderPartial('_buehne',array(
'data'=>$model,
));
+} else {
+ echo "asd";
}
?>