Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Media file link was being squished. Gave it 150px space

  • Loading branch information...
commit 91607e97edfb6a3867db7fcbe97f764794c3e948 1 parent 71c7eb7
mark-nielsen authored
Showing with 10 additions and 1 deletion.
  1. +10 −1 mod/lesson/viewend.html
View
11 mod/lesson/viewend.html
@@ -10,7 +10,16 @@
<!-- Start view end -->
</td>
<td>
- <?php echo $medialink ?>
+
+<?php if (!empty($medialink)) { ?>
+
+ <table width="150px">
+ <tr><td>
+ <?php echo $medialink ?>
+ </td></tr>
+ </table>
+
+<?php } ?>
<?php if($lesson->timed and !has_capability('mod/lesson:manage', $context)) { // Display for timed lessons and for students only ?>
Please sign in to comment.
Something went wrong with that request. Please try again.