多重角色,教师/助教查看自己作为学生身份时提交的作品,追加附件重复显示
This commit is contained in:
parent
7123c66481
commit
5433e6d714
|
@ -14,7 +14,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if work.user == User.current %>
|
<% if work.user == User.current && !User.current.allowed_to?(:as_teacher, @homework.course) %>
|
||||||
<div class="resubAtt mb15">
|
<div class="resubAtt mb15">
|
||||||
<span class="resubTitle">追加修订附件</span>
|
<span class="resubTitle">追加修订附件</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue