Skip to content

Commit

Permalink
SAK-33569 hide no attachments message from student's view (sakaiproje…
Browse files Browse the repository at this point in the history
…ct#4996)

* SAK-33569 hide no attachments message from student's view

* Update chef_assignments_student_view_grade.vm

* Update chef_assignments_student_view_submission.vm
  • Loading branch information
bgarciaentornos authored and ern committed Nov 17, 2017
1 parent d0fb1b5 commit d24e0a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,7 @@
#set ($attachments = $assignment.Attachments)
#if ($attachments)
#set ($size = $attachments.size())
#if ($size < 1)
$tlang.getString("gen.noatt")
#else
#if ($size > 0)
<h4>
$tlang.getString("gen.addres2")
</h4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,7 @@ $(document).ready(function(){
#set ($aAttachments = $assignment.Attachments)
#if ($aAttachments)
#set ($size = $aAttachments.size())
#if ($size < 1)
$tlang.getString("gen.noatt")
#else
#if ($size > 0)
<h4>
$tlang.getString("gen.addres2")
</h4>
Expand Down

0 comments on commit d24e0a7

Please sign in to comment.