camp fixes; cookie box

This commit is contained in:
Ricsi
2017-06-12 00:31:22 +02:00
parent f17adf4850
commit fa0e1a6488
23 changed files with 534 additions and 208 deletions

View File

@@ -26,15 +26,14 @@
<div id="block_{$camp->get_camp_to()|substr:0:4}{$camp->get_camp_to()|substr:5:2}" class="month_block">
{/if}
<a href="/admin/camps/{$camp->get_camp_id()}">
<div class="list_item" {if $camp->has_pending_apply()}style="background-color: #ff9205;"{/if}>
<div class="list_item" {if $camp->has_pending_apply() || $camp->has_deleted_apply()}style="background-color: #ff9205;"{/if}>
<img src="/_image/camp.png">
{$camp->get_camp_from()|substr:0:4}.
{$months[$camp_array[$camp@index]->get_camp_from()|substr:5:2]}
{$camp->get_camp_from_day()}.
- {$camp->get_camp_to()|substr:0:4}.
{$months[$camp_array[$camp@index]->get_camp_to()|substr:5:2]}
{$camp->get_camp_to_day()}.
{$camp->get_camp_from()|substr:0:4}.
{$months[$camp->get_camp_from()|date_format:"%m"]}. {$camp->get_camp_from()|date_format:"%e"}. -
{if $camp->get_camp_from()|date_format:"%m" != $camp->get_camp_to()|date_format:"%m"}
{$months[$camp->get_camp_to()|date_format:"%m"]}.
{/if}
{$camp->get_camp_to()|date_format:"%e"}., {$camp->get_camp_type()->get_ct_name()}
({$camp->get_camp_city()})
@@ -42,6 +41,9 @@
{if $camp->has_pending_apply()}
<span class="pending">[{$camp->has_pending_apply()} új jelentkezés]</span>
{/if}
{if $camp->has_deleted_apply()}
<span class="pending">[{$camp->has_deleted_apply()} törölt jelentkezés]</span>
{/if}
</div>
</a>
{if $camp@last}