|
|
@ -72,7 +72,8 @@
|
|
|
|
<p class="enter_btn mb40 clearfix">
|
|
|
|
<p class="enter_btn mb40 clearfix">
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
is_start = Time.now > first_section.start_time
|
|
|
|
is_start = Time.now > first_section.start_time
|
|
|
|
btn_url = is_start ? "#{entry.url}" : "javascript:void(0);"
|
|
|
|
competition_url = User.current.logged? ? "#{entry.url}?eid=#{User.current.id}" : "#{entry.url}"
|
|
|
|
|
|
|
|
btn_url = is_start ? "#{competition_url}" : "javascript:void(0);"
|
|
|
|
%>
|
|
|
|
%>
|
|
|
|
<a class="setNewBnt <%= is_start ? 'active' : '' %>"
|
|
|
|
<a class="setNewBnt <%= is_start ? 'active' : '' %>"
|
|
|
|
href="javascript:void(0);"
|
|
|
|
href="javascript:void(0);"
|
|
|
|