查看其他人的个人主页时显示文字

This commit is contained in:
cxt 2015-07-30 14:27:28 +08:00
parent dfa06ab069
commit 31efdee69b
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@
<% end %>
<div class="cl"></div>
</div>
<% else %>
<div class="top_new">
<span class="<%= (@user.user_extensions.identity == 0 && @user.allowed_to?(:add_course, nil, :global => true)) ? 'top_new_bg' : 'top_newcourses_bg'%> fl"></span>
</div>
<% end %>
<div id="RSide" class="fl">