邀请码的提示
This commit is contained in:
parent
2fea69359d
commit
e2546cdcb7
|
@ -32,12 +32,12 @@
|
|||
<%= image_tag(url_to_avatar(@course), :width => "110", :height => "110", :alt => "班级logo") %>
|
||||
</div>
|
||||
<div class="sy_class_id fl">
|
||||
<p>邀请码<br />
|
||||
<p>邀 请 码<br />
|
||||
<span class="sy_corange">
|
||||
<% if User.current.admin? || User.current.member_of_course?(@course) %>
|
||||
<%=@course.generate_invite_code %>
|
||||
<% else %>
|
||||
*****
|
||||
<span class="f12">请咨询老师</span>
|
||||
<% end %>
|
||||
</span>
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue