Browse Source

On manage page added action icon for changing attendance.

MOODLE_23_STABLE
Artem Andreev 12 years ago
parent
commit
ee9c0a4a78
  1. BIN
      pix/redo.png
  2. 2
      renderer.php
  3. 4
      styles.css

BIN
pix/redo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 524 B

2
renderer.php

@ -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>';

4
styles.css

@ -118,4 +118,8 @@
#page-mod-attforblock-preferences .generalbox {
text-align: center;
}
.path-mod-attforblock .attsessions_manage_table .action-icon img.smallicon {
margin-left: 5px;
}
Loading…
Cancel
Save