|
|
|
@ -16,28 +16,28 @@
|
|
|
|
|
|
|
|
|
|
<% if homework_common.homework_detail_manual%>
|
|
|
|
|
<% if homework_common.homework_detail_manual.comment_status == 0 %>
|
|
|
|
|
<span class="grey_btn_cir ml5">未发布</span>
|
|
|
|
|
<span class="grey_homework_btn_cir ml5">未发布</span>
|
|
|
|
|
<% elsif homework_common.homework_detail_manual.comment_status == 1%>
|
|
|
|
|
<% if homework_common.anonymous_comment == 0%>
|
|
|
|
|
<span class="grey_btn_cir ml5">未开启匿评</span>
|
|
|
|
|
<span class="grey_homework_btn_cir ml5">未开启匿评</span>
|
|
|
|
|
<% else %>
|
|
|
|
|
<span class="grey_btn_cir ml5">匿评已禁用</span>
|
|
|
|
|
<span class="grey_homework_btn_cir ml5">匿评已禁用</span>
|
|
|
|
|
<% end %>
|
|
|
|
|
<span class="green_btn_cir ml5">作品提交中</span>
|
|
|
|
|
<span class="green_homework_btn_cir ml5">作品提交中</span>
|
|
|
|
|
<% elsif homework_common.homework_detail_manual.comment_status == 2%>
|
|
|
|
|
<% if homework_common.anonymous_comment == 0%>
|
|
|
|
|
<span class="green_btn_cir ml5">匿评中</span>
|
|
|
|
|
<span class="green_homework_btn_cir ml5">匿评中</span>
|
|
|
|
|
<% else %>
|
|
|
|
|
<span class="grey_btn_cir ml5">匿评已禁用</span>
|
|
|
|
|
<span class="grey_homework_btn_cir ml5">匿评已禁用</span>
|
|
|
|
|
<% end %>
|
|
|
|
|
<span class="green_btn_cir ml5" title="目前教师和教辅正在评阅">教师评阅中</span>
|
|
|
|
|
<span class="green_homework_btn_cir ml5" title="目前教师和教辅正在评阅">教师评阅中</span>
|
|
|
|
|
<% elsif homework_common.homework_detail_manual.comment_status == 3%>
|
|
|
|
|
<% if homework_common.anonymous_comment == 0%>
|
|
|
|
|
<span class="grey_btn_cir ml5">匿评已结束</span>
|
|
|
|
|
<span class="grey_homework_btn_cir ml5">匿评已结束</span>
|
|
|
|
|
<% else %>
|
|
|
|
|
<span class="grey_btn_cir ml5">匿评已禁用</span>
|
|
|
|
|
<span class="grey_homework_btn_cir ml5">匿评已禁用</span>
|
|
|
|
|
<% end %>
|
|
|
|
|
<span class="green_btn_cir ml5" title="目前教师和教辅正在评阅">教师评阅中</span>
|
|
|
|
|
<span class="green_homework_btn_cir ml5" title="目前教师和教辅正在评阅">教师评阅中</span>
|
|
|
|
|
<% end%>
|
|
|
|
|
<% end%>
|
|
|
|
|
|
|
|
|
|