MDL-40974 course: fixed group mode icon now has tooltip

This commit is contained in:
Sam Hemelryk 2013-08-01 14:55:32 +12:00
parent 838d78a9ff
commit 25c605a526
2 changed files with 2 additions and 1 deletions

View File

@ -1951,7 +1951,7 @@ function course_get_cm_edit_actions(cm_info $mod, $indent = -1, $sr = null) {
array('class' => 'editing_'. $actionname, 'data-action' => $actionname, 'data-nextgroupmode' => $nextgroupmode)
);
} else {
$actions[$actionname] = new pix_icon($groupimage, $forcedgrouptitle, 'moodle', array('title' => '', 'class' => 'iconsmall'));
$actions[$actionname] = new pix_icon($groupimage, $forcedgrouptitle, 'moodle', array('class' => 'iconsmall'));
}
}

View File

@ -29,6 +29,7 @@
.sitetopic .section .activity .commands,
.course-content .section .activity .commands { white-space: nowrap; display: inline-block; }
.section .activity .moodle-actionmenu .menubar > li > * {display:inline-block;min-height:16px;padding: 0.2em;}
.section .activity .moodle-actionmenu .menubar > li > img {margin: 0.2em;vertical-align: text-bottom;padding:0 3px 0 0;}
.section .activity .moodle-actionmenu .iconsmall {vertical-align: baseline;width:16px;height:16px;}
.sitetopic .section li.activity,