summaryrefslogtreecommitdiff
path: root/protected/views/verein/view.php
diff options
context:
space:
mode:
Diffstat (limited to 'protected/views/verein/view.php')
-rw-r--r--protected/views/verein/view.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/protected/views/verein/view.php b/protected/views/verein/view.php
index 5d1df76..eb57968 100644
--- a/protected/views/verein/view.php
+++ b/protected/views/verein/view.php
@@ -4,18 +4,18 @@ $this->breadcrumbs=array(
$model->name,
);
-$this->menu=array(
+/*$this->menu=array(
array('label'=>'Vereine verwalten', 'url'=>array('index')),
-);
+);*/
?>
<h3><?php echo $model->name; ?></h3>
<p>Der Verein <?php echo $model->name ?> befindet sich <?php echo CHtml::Link($model->standort->name,array('standort/view','id'=>$model->standort->id))?>.</p>
-<?php if ($model->bild) {
+<?php if ($model->bild && ""!=$model->bild) {
echo CHtml::image($model->bild,'Vereinslogo '.$model->name, array("class" => "float-left bordered"));
}?>
-<div class="box info float-right"><?php echo $model->kontaktdaten ?></div>
+<div class="box info float-right"><?php echo $model->kontaktdaten ?><?php if($model->url && ""!=$model->url) {?><a href="<?php echo $model->url ?>" target="_blank"><?php echo $model->url?></a><?php }?></div>
<p><?php echo $model->beschreibung?></p>
<?php /*$this->widget('zii.widgets.CListView', array(