Added all modified files to allow branching
This commit is contained in:
@@ -13,8 +13,21 @@ class ClubsViewClub extends AbstractClubsViewSingle
|
||||
{
|
||||
ToolbarHelper::title('Club-Management - Verein');
|
||||
|
||||
$this->prepareDisplay();
|
||||
|
||||
$this->users = ClubsUser::loadUsers();
|
||||
|
||||
if(! $this->isNew)
|
||||
{
|
||||
$offers = ClubsOffer::loadOffers();
|
||||
$currentOffers = $this->object->getOffers();
|
||||
|
||||
$this->offers = array_map(function($offer) use ($currentOffers){
|
||||
$mark = False;
|
||||
return array('offer'=>$offer, 'mark'=>$mark);
|
||||
}, $offers);
|
||||
}
|
||||
|
||||
parent::display($tpl);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user