camp modfications
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<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->get_camp_from()|date_format:"%m"]}. {$camp->get_camp_from()|date_format:"%e"}. -
|
||||
{$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}
|
||||
@@ -78,7 +78,11 @@ $( document ).ready(function() {
|
||||
$( ".list" ).find( divs ).hide();
|
||||
var div_list = $( ".list" ).find( divs );
|
||||
|
||||
open_block(div_list[0].id);
|
||||
//open_block(div_list[0].id);
|
||||
//alert(div_list.length);
|
||||
for (var i = 0; i <= div_list.length - 1; i++) {
|
||||
open_block(div_list[i].id);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user