Modification of single places is now functional.
This commit is contained in:
@@ -106,23 +106,18 @@ $clubid = $this->club->getId();
|
||||
<div class='clubs_row'>
|
||||
<div class='clubs_title_row'>Räumlichkeiten</div>
|
||||
<?php if(count($this->club->getPlaces()) > 0): ?>
|
||||
<?php foreach($this->club->getPlaces() as $p): ?>
|
||||
<div class='clubs_content_row'>
|
||||
<b><?php echo htmlentities($p->getName()); ?></b><br />
|
||||
<i>Adresse</i>
|
||||
<?php //echo nl2br(htmlentities($p->getAddress())); ?>
|
||||
<?php echo $p->getArea() === null ? '' : '<br />Fläche: ' . htmlentities($p->getArea()) . 'qm'; ?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php
|
||||
foreach($this->club->getPlaces() as $p)
|
||||
{
|
||||
$partHandler = new ClubsPartClubPlace($p->getId());
|
||||
echo "<div class='clubs_content_row'>";
|
||||
echo $partHandler->getViewPart();
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
<?php else: ?>
|
||||
Der Verein hat keine Angebote festgelegt.
|
||||
<div class='message-empty <?php echo count($this->club->getPlaces()) == 0 ? '' : 'clubs-hidden'; ?>'>Der Verein hat keine Angebote festgelegt.</div>
|
||||
<?php endif; ?>
|
||||
<div class='clubs_content_row'>
|
||||
<?php
|
||||
$partHandler = new ClubsPartClubPlaces($clubid);
|
||||
echo $partHandler->getViewPart();
|
||||
?>
|
||||
</div>
|
||||
<div class='clubs_content_row'><a href='<?php echo ""; ?>'><span class='icon-new'></span> Neue Assoziation anlegen</a></div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user