用户未登陆时首页不提示“该学校未开设任何课程”
This commit is contained in:
parent
5f18b1a38c
commit
beeb707347
|
@ -87,9 +87,11 @@
|
|||
<ul class="d-p-projectlist">
|
||||
<h1></h1>
|
||||
|
||||
<% if User.current.logged? %>
|
||||
<p id="errorExplanation">
|
||||
该学校未开设任何课程,您可以查看其他学校课程
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<h1></h1>
|
||||
<% find_all_new_hot_course(9, @school_id).map do |course| %>
|
||||
|
|
Loading…
Reference in New Issue