summaryrefslogtreecommitdiff
path: root/protected/views/verein
diff options
context:
space:
mode:
Diffstat (limited to 'protected/views/verein')
-rw-r--r--protected/views/verein/_short.php8
-rw-r--r--protected/views/verein/index.php4
-rw-r--r--protected/views/verein/view.php6
3 files changed, 11 insertions, 7 deletions
diff --git a/protected/views/verein/_short.php b/protected/views/verein/_short.php
index c6e42de..c282b6a 100644
--- a/protected/views/verein/_short.php
+++ b/protected/views/verein/_short.php
@@ -7,8 +7,12 @@ if(strlen(strip_tags($data->beschreibung))>300) {
$myBeschreibung = $tmp[0]."...";
} else {
$myBeschreibung = strip_tags($data->beschreibung);
-}?>
+}
+if(strlen($myBeschreibung)> 0) {
+ $myBeschreibung="<p>".$myBeschreibung."</p>";
+}
+?>
<?php /*
<p><?php echo CHTML::link(CHTML::decode($myBeschreibung),array("verein/view","id"=>$data->id)); ?></p>
*/?>
-<?php echo CHTML::link("<h6>".$data->name." (".$data->standort->name.")</h6><p>".$myBeschreibung."</p>" ,array("verein/view","id"=>$data->id)); ?> \ No newline at end of file
+<div class="erg"><?php echo CHTML::link("<h6>".$data->name."</h6><i>".$data->standort->name."</i>".$myBeschreibung ,array("verein/view","id"=>$data->id)); ?></div> \ No newline at end of file
diff --git a/protected/views/verein/index.php b/protected/views/verein/index.php
index 1e447a0..bfb20a8 100644
--- a/protected/views/verein/index.php
+++ b/protected/views/verein/index.php
@@ -2,11 +2,11 @@
$this->breadcrumbs=array(
'Vereine',
);
-
+/*
$this->menu=array(
array('label' => 'Verein suchen', 'url' => array('search')),
-);
+);*/
?>
<h2>Vereine</h2>
diff --git a/protected/views/verein/view.php b/protected/views/verein/view.php
index eb57968..2e0d0e5 100644
--- a/protected/views/verein/view.php
+++ b/protected/views/verein/view.php
@@ -36,9 +36,9 @@ $dataProvider=new CActiveDataProvider('AngebotVerein', array(
$this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_shortangebotverein',
- 'sortableAttributes'=>array(
- 'preis','menge',
- ),
+ //'sortableAttributes'=>array(
+ // 'preis','menge',
+ //),
));?>
<h4>Veranstaltungen</h4>
<?php