MDL-63881 tool_dataprivacy: 'Contact the privacy officer' profile link.
This commit is contained in:
@@ -15,16 +15,6 @@
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
dd a.contactdpo {
|
||||
/* Reverting dd's left margin */
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
.card dd a.contactdpo {
|
||||
/* Reverting dd's left margin */
|
||||
margin-left: inherit;
|
||||
}
|
||||
|
||||
[data-region="data-requests-table"] .moodle-actionmenu {
|
||||
min-width: 150px;
|
||||
}
|
||||
|
||||
@@ -100,11 +100,15 @@ class renderer extends \plugin_renderer_base {
|
||||
$content = $node->content;
|
||||
$classes = $node->classes;
|
||||
if (!empty($content)) {
|
||||
// There is some content to display below this make this a header.
|
||||
$return = \html_writer::tag('dt', $header);
|
||||
$return .= \html_writer::tag('dd', $content);
|
||||
if ($header) {
|
||||
// There is some content to display below this make this a header.
|
||||
$return = \html_writer::tag('dt', $header);
|
||||
$return .= \html_writer::tag('dd', $content);
|
||||
|
||||
$return = \html_writer::tag('dl', $return);
|
||||
$return = \html_writer::tag('dl', $return);
|
||||
} else {
|
||||
$return = \html_writer::span($content);
|
||||
}
|
||||
if ($classes) {
|
||||
$return = \html_writer::tag('li', $return, array('class' => 'contentnode ' . $classes));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user