Merge branch 'MDL-59846-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
This commit is contained in:
@@ -286,7 +286,7 @@ class core_calendar_renderer extends plugin_renderer_base {
|
||||
$output .= html_writer::tag('div', $source, array('class' => 'subscription'));
|
||||
}
|
||||
if (!empty($event->courselink)) {
|
||||
$output .= html_writer::tag('div', $event->courselink, array('class' => 'course'));
|
||||
$output .= html_writer::tag('div', $event->courselink);
|
||||
}
|
||||
if (!empty($event->time)) {
|
||||
$output .= html_writer::tag('span', $event->time, array('class' => 'date pull-xs-right m-r-1'));
|
||||
@@ -296,7 +296,8 @@ class core_calendar_renderer extends plugin_renderer_base {
|
||||
}
|
||||
|
||||
if (!empty($event->actionurl)) {
|
||||
$output .= html_writer::tag('div', html_writer::link(new moodle_url($event->actionurl), $event->actionname));
|
||||
$actionlink = html_writer::link(new moodle_url($event->actionurl), $event->actionname);
|
||||
$output .= html_writer::tag('div', $actionlink, ['class' => 'action']);
|
||||
}
|
||||
|
||||
$output .= $this->output->box_end();
|
||||
|
||||
@@ -165,14 +165,14 @@
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
.name,
|
||||
.course {
|
||||
.action {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.date {
|
||||
float: right;
|
||||
}
|
||||
.course,
|
||||
.subscription {
|
||||
.subscription,
|
||||
.action {
|
||||
float: left;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
@@ -5686,14 +5686,14 @@ img.iconsmall {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
.path-calendar .maincalendar .eventlist .event .name,
|
||||
.path-calendar .maincalendar .eventlist .event .course {
|
||||
.path-calendar .maincalendar .eventlist .event .action {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.path-calendar .maincalendar .eventlist .event .date {
|
||||
float: right;
|
||||
}
|
||||
.path-calendar .maincalendar .eventlist .event .course,
|
||||
.path-calendar .maincalendar .eventlist .event .subscription {
|
||||
.path-calendar .maincalendar .eventlist .event .subscription,
|
||||
.path-calendar .maincalendar .eventlist .event .action {
|
||||
float: left;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user