From 3246c592dd83ed3278ef9e78916be6849e13a48a Mon Sep 17 00:00:00 2001 From: Patrick Seeger Date: Thu, 19 Jun 2014 00:09:43 +0200 Subject: Noch eine Korrektur bei der Standortanzeige --- protected/views/standort/_standort.php | 8 +++++--- protected/views/standort/view.php | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/protected/views/standort/_standort.php b/protected/views/standort/_standort.php index 2c8ef4c..1ba0d5b 100644 --- a/protected/views/standort/_standort.php +++ b/protected/views/standort/_standort.php @@ -1,5 +1,5 @@
Folgende Vereine finden sich name?>
-array( 'condition'=>'standort_id='.$data->id." and published = 1", @@ -8,7 +8,7 @@ $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(), @@ -16,4 +16,6 @@ $this->widget('zii.widgets.CListView', array( 'sortableAttributes'=>array( 'name' ) - ));?> \ No newline at end of file + )); + */ + ?> \ No newline at end of file diff --git a/protected/views/standort/view.php b/protected/views/standort/view.php index 60bc9f7..098f397 100644 --- a/protected/views/standort/view.php +++ b/protected/views/standort/view.php @@ -47,7 +47,7 @@ $gMap->renderMap(); ?>

type) { +if("Stand" == $model->type) { $this->renderPartial('_standort',array( 'data'=>$model, )); -- cgit v1.0-28-g1787