修复非管理远用户帖子出现管理员帖子置顶的问题
This commit is contained in:
parent
03d6afd1c4
commit
7808bb5ebe
|
@ -130,11 +130,13 @@
|
||||||
<p id="subjectmsg"></p>
|
<p id="subjectmsg"></p>
|
||||||
</div>
|
</div>
|
||||||
<div id="topic_editor" style="display: none;">
|
<div id="topic_editor" style="display: none;">
|
||||||
<%if User.current.member_of_course?(course)%>
|
<%if User.current.member_of_course?(course) %>
|
||||||
<div class="mt10">
|
<div class="mt10">
|
||||||
<%= f.check_box :sticky, :value => topic.sticky%>
|
<% if User.current.admin? %>
|
||||||
<%= label_tag 'message_sticky', l(:label_board_sticky) %>
|
<%= f.check_box :sticky, :value => topic.sticky %>
|
||||||
<%= f.check_box :locked, :value => topic.locked%>
|
<%= label_tag 'message_sticky', l(:label_board_sticky) %>
|
||||||
|
<% end %>
|
||||||
|
<%= f.check_box :locked, :value => topic.locked %>
|
||||||
<%= label_tag 'message_locked', l(:label_board_locked) %>
|
<%= label_tag 'message_locked', l(:label_board_locked) %>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue