班级讨论区发帖的“置顶”和“锁定”的选项框需要改为新样式
This commit is contained in:
parent
eb88ce4ea8
commit
35773049cc
|
|
@ -8,8 +8,7 @@
|
|||
if(!regexTopicSubject()) {
|
||||
result=false;
|
||||
return result;
|
||||
}
|
||||
if(params.content!=undefined){
|
||||
} else if(params.content!=undefined){
|
||||
if(params.content.isEmpty()){
|
||||
result=false;
|
||||
}
|
||||
|
|
@ -128,10 +127,10 @@
|
|||
<div id="topic_editor" style="display: none;">
|
||||
<%if User.current.allowed_to?(:as_teacher, course) %>
|
||||
<div class="mt10">
|
||||
<%= f.check_box :sticky, :value => topic.sticky %>
|
||||
<%= label_tag 'message_sticky', l(:label_board_sticky) %>
|
||||
<%= f.check_box :locked, :value => topic.locked %>
|
||||
<%= label_tag 'message_locked', l(:label_board_locked) %>
|
||||
<%= f.check_box :sticky, :value => topic.sticky, :class => 'magic-checkbox fl' %>
|
||||
<%= label_tag 'message_sticky', l(:label_board_sticky), :class => 'fl' %>
|
||||
<%= f.check_box :locked, :value => topic.locked, :class => 'magic-checkbox fl' %>
|
||||
<%= label_tag 'message_locked', l(:label_board_locked), :class => 'fl ml10' %>
|
||||
<div class="cl"></div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Reference in New Issue