Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51ea278
)
assignment MDL-23680 fixed upload single not displaying response file to student.
author
Aparup Banerjee
<nebgor@gmail.com>
Fri, 6 Aug 2010 03:32:11 +0000
(
03:32
+0000)
committer
Aparup Banerjee
<nebgor@gmail.com>
Fri, 6 Aug 2010 03:32:11 +0000
(
03:32
+0000)
mod/assignment/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/assignment/lib.php
b/mod/assignment/lib.php
index
817ea85
..
7ff052d
100644
(file)
--- a/
mod/assignment/lib.php
+++ b/
mod/assignment/lib.php
@@
-321,6
+321,17
@@
class assignment_base {
echo '</div>';
echo '</tr>';
+ if ($this->type == 'uploadsingle') { //@TODO: move to overload view_feedback method in the class or is uploadsingle merging into upload?
+ $responsefiles = $this->print_responsefiles($submission->userid, true);
+ if (!empty($responsefiles)) {
+ echo '<tr>';
+ echo '<td class="left side"> </td>';
+ echo '<td class="content">';
+ echo $responsefiles;
+ echo '</tr>';
+ }
+ }
+
echo '</table>';
}