|
|
|
@ -126,7 +126,7 @@
|
|
|
|
|
|
|
|
|
|
<%# notice = SystemUpdateNotice.last %>
|
|
|
|
|
<%# if @noticed_update || ((User.current.certification == 1 || params[:controller] != "welcome") && notice.present? && notice.end_time > Time.now && notice.start_time >= (Time.now - 21600) && User.current.user_system_notices.where(:notice_type => notice.notice_type).count == 0) %>
|
|
|
|
|
<!-- var htmlvalue = "<%= escape_javascript(render :partial => 'account/user_update_notice', :locals => {:notice => notice})%>";-->
|
|
|
|
|
<!-- var htmlvalue = "<%#= escape_javascript(render :partial => 'account/user_update_notice', :locals => {:notice => notice})%>";-->
|
|
|
|
|
<!-- pop_box_new(htmlvalue, 500, 380);-->
|
|
|
|
|
<%# UserSystemNotice.create(:user_id => User.current.id, :notice_type => notice.notice_type) %>
|
|
|
|
|
<%# elsif notice.present? && notice.end_time < Time.now %>
|
|
|
|
|