camp modfications
This commit is contained in:
@@ -219,7 +219,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
<div>
|
||||
<input id="submit_apply" class="button black middle" type="submit" value="Jelentkezés leadása">
|
||||
<input id="submit_apply" class="button apply middle" type="submit" value="Jelentkezés leadása" disabled="disabled">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -373,11 +373,10 @@ $("#cc_list").change(function() {
|
||||
|
||||
$("#accept_terms").change(function() {
|
||||
if ($("#accept_terms").is(':checked')) {
|
||||
$("#submit_apply").show();
|
||||
$("#submit_apply").css('display', 'block');
|
||||
$("#submit_apply").prop('disabled', false);
|
||||
}
|
||||
else {
|
||||
$("#submit_apply").hide();
|
||||
$("#submit_apply").prop('disabled', true);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
<td>
|
||||
{$apply->get_capp_date()|substr:0:16}
|
||||
</td>
|
||||
<td style="color: {$color}; font-weight: bold;">
|
||||
<td style="color: {if $apply->get_capp_status() == 'Elfogadva'}green{else}red{/if}; font-weight: bold;">
|
||||
{$apply->get_capp_status()}
|
||||
</td>
|
||||
<td>
|
||||
|
||||
@@ -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