On manage page added action icon for changing attendance.
authorArtem Andreev <andreev.artem@gmail.com>
Fri, 28 Sep 2012 12:54:05 +0000 (16:54 +0400)
committerArtem Andreev <andreev.artem@gmail.com>
Fri, 28 Sep 2012 12:54:05 +0000 (16:54 +0400)
pix/redo.png [new file with mode: 0644]
renderer.php
styles.css

diff --git a/pix/redo.png b/pix/redo.png
new file mode 100644 (file)
index 0000000..480a329
Binary files /dev/null and b/pix/redo.png differ
index 4c6396a..fe298cf 100644 (file)
@@ -221,6 +221,8 @@ class mod_attforblock_renderer extends plugin_renderer_base {
 
                 $date = html_writer::link($url, $date, array('title' => $title));
                 $time = html_writer::link($url, $time, array('title' => $title));
+
+                $actions = $this->output->action_icon($url, new pix_icon('redo', $title, 'attforblock'));
             } else {
                 $date = '<i>' . $date . '</i>';
                 $time = '<i>' . $time . '</i>';
index 022ef3f..e187be9 100644 (file)
 
 #page-mod-attforblock-preferences .generalbox {
     text-align: center;
+}
+
+.path-mod-attforblock .attsessions_manage_table .action-icon img.smallicon {
+    margin-left: 5px;
 }
\ No newline at end of file