diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2014-05-08 14:30:15 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2014-05-08 14:30:15 +0200 |
| commit | 9631ea589c6fbbb267e901a691b8566cc4891803 (patch) | |
| tree | 2d6eadfba77297cc29a1b665d3db028656cfd18c /protected/views/veranstaltung/index.php | |
| parent | 4f3fb96a75df63f8d611bcbadcdc6f33f33c8998 (diff) | |
Anzeige von alten Veranstaltungen verbessert.
Diffstat (limited to 'protected/views/veranstaltung/index.php')
| -rw-r--r-- | protected/views/veranstaltung/index.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protected/views/veranstaltung/index.php b/protected/views/veranstaltung/index.php index 35f2ec7..caaa91e 100644 --- a/protected/views/veranstaltung/index.php +++ b/protected/views/veranstaltung/index.php @@ -17,8 +17,12 @@ $this->menu=array( <?php $this->widget('zii.widgets.grid.CGridView', array( 'id'=>'veranstaltung-grid', - 'dataProvider'=>$model->search(), + 'dataProvider'=>$model->sortedDESC()->search(), 'filter'=>$model, + 'rowCssClassExpression' => '
+ ( $row%2 ? $this->rowCssClass[1] : $this->rowCssClass[0] ) .
+ ( $data->thisYear ? null : " old" )
+ ', 'columns'=>array( array('header'=>'Verein', 'name'=>'verein_id', |
