added leader and helpers field to camp
This commit is contained in:
@@ -108,13 +108,29 @@
|
||||
</label>
|
||||
<div>
|
||||
{$apply->get_capp_camp_id()->get_camp_from()|substr:0:4}.
|
||||
{$months[$apply->get_capp_camp_id()->get_camp_from()|date_format:"%m"]}. {$apply->get_capp_camp_id()->get_camp_from()|date_format:"%e"}. -
|
||||
{$months[$apply->get_capp_camp_id()->get_camp_from()|date_format:"%m"]} {$apply->get_capp_camp_id()->get_camp_from()|date_format:"%e"}. -
|
||||
{if $apply->get_capp_camp_id()->get_camp_from()|date_format:"%m" != $apply->get_capp_camp_id()->get_camp_to()|date_format:"%m"}
|
||||
{$months[$apply->get_capp_camp_id()->get_camp_to()|date_format:"%m"]}.
|
||||
{/if}
|
||||
{$apply->get_capp_camp_id()->get_camp_to()|date_format:"%e"}.
|
||||
</div>
|
||||
</div>
|
||||
{if $page == 'admin' || $page == 'taborvezeto'}
|
||||
<div class="list_item">
|
||||
<label class="desc">
|
||||
<img src="/_image/person.png">
|
||||
Táborvezető:
|
||||
</label>
|
||||
<div>{$apply->get_capp_camp_id()->get_camp_leader()}</div>
|
||||
</div>
|
||||
<div class="list_item">
|
||||
<label class="desc">
|
||||
<img src="/_image/person.png">
|
||||
Segítők:
|
||||
</label>
|
||||
<div>{$apply->get_capp_camp_id()->get_camp_helpers()}</div>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="list_item">
|
||||
<label class="desc">
|
||||
<img src="/_image/person.png">
|
||||
@@ -123,6 +139,7 @@
|
||||
<div>{$apply->get_capp_accomodation_type()->get_cat_name()}</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="list_item">
|
||||
<label class="desc">
|
||||
<img src="/_image/person.png">
|
||||
|
||||
@@ -14,6 +14,14 @@
|
||||
<label class="desc" for="camp_to">Tábor vége:</label>
|
||||
<div><input type="text" name="camp_to" id="camp_to" required></div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="desc" for="camp_leader">Táborvezető:</label>
|
||||
<div><input type="text" name="camp_leader" id="camp_leader"></div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="desc" for="camp_helpers">Segítők:</label>
|
||||
<div><input type="text" name="camp_helpers" id="camp_helpers"></div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="desc" for="camp_is_open">Lehet jelentkezni:</label>
|
||||
<div><input type="checkbox" name="camp_is_open" id="camp_is_open" value="1" checked></div>
|
||||
|
||||
@@ -18,6 +18,14 @@
|
||||
<label class="desc" for="camp_to">Tábor vége:</label>
|
||||
<div><input type="text" name="camp_to" id="camp_to" value="{$camp->get_camp_to()}" required></div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="desc" for="camp_leader">Táborvezető:</label>
|
||||
<div><input type="text" name="camp_leader" id="camp_leader" value="{$camp->get_camp_leader()}"></div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="desc" for="camp_helpers">Segítők:</label>
|
||||
<div><input type="text" name="camp_helpers" id="camp_helpers" value="{$camp->get_camp_helpers()}"></div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="desc" for="camp_is_open">Lehet jelentkezni:</label>
|
||||
<div><input type="checkbox" name="camp_is_open" id="camp_is_open" value="1" {if 1==$camp->get_camp_is_open()}checked{/if}></div>
|
||||
|
||||
Reference in New Issue
Block a user