2016-01-20 16:03:28 +08:00
|
|
|
<% if @polls.empty? %>
|
2016-11-15 16:57:07 +08:00
|
|
|
var htmlvalue = '<div id="muban_popup_box" style="width:300px;"><div class="muban_popup_top"><h3 class="fl">提示</h3><a href="javascript:void(0);" class="muban_icons_close fr"></a></div>'+
|
|
|
|
'<div class="clear mt15"><p class="text_c f14">您的其它班级下没有问卷可供导入</p><div class="cl"></div><a href="javascript:void(0);" class="fr sy_btn_blue mt10" style="margin-right: 122px;" onclick="hideModal();">确定</a></div></div>';
|
|
|
|
pop_box_new(htmlvalue, 300, 140);
|
2016-01-20 16:03:28 +08:00
|
|
|
<% else %>
|
2016-11-07 17:12:29 +08:00
|
|
|
var html_value = '<%= escape_javascript(render :partial => 'other_poll',:locals => {:polls => @polls,:polls_group_id=>@polls_group_id}) %>';
|
|
|
|
pop_box_new(html_value, 510, 550);
|
2015-08-11 11:30:17 +08:00
|
|
|
<% end %>
|