Merge branch 'MDL-77219-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
This commit is contained in:
@@ -106,12 +106,15 @@ class cmname implements named_templatable, renderable {
|
||||
'url' => $mod->url,
|
||||
'icon' => $mod->get_icon_url(),
|
||||
'modname' => $mod->modname,
|
||||
'pluginname' => get_string('pluginname', 'mod_' . $mod->modname),
|
||||
'textclasses' => $displayoptions['textclasses'] ?? '',
|
||||
'purpose' => plugin_supports('mod', $mod->modname, FEATURE_MOD_PURPOSE, MOD_PURPOSE_OTHER),
|
||||
'activityname' => $this->get_title_data($output),
|
||||
];
|
||||
|
||||
if ($this->format->show_editor()) {
|
||||
$data['pluginname'] = get_string('pluginname', 'mod_' . $mod->modname);
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
{{/ core_courseformat/local/content/cm/cmname }}
|
||||
{{/cmname}}
|
||||
{{#afterlink}}
|
||||
<div class="afterlink">
|
||||
<div class="afterlink d-flex align-items-center ml-3">
|
||||
{{{afterlink}}}
|
||||
</div>
|
||||
{{/afterlink}}
|
||||
|
||||
@@ -50,9 +50,11 @@
|
||||
<img src="{{{icon}}}" class="activityicon " alt="{{{modname}}} icon">
|
||||
</div>
|
||||
<div class="media-body align-self-center">
|
||||
{{#pluginname}}
|
||||
<div class="text-uppercase small">
|
||||
{{{pluginname}}}
|
||||
</div>
|
||||
{{/pluginname}}
|
||||
<div class="activityname">
|
||||
{{#activityname}}
|
||||
{{$ core/inplace_editable }}
|
||||
|
||||
@@ -57,6 +57,7 @@ Feature: Manage and list recordings
|
||||
Scenario: I check that I can import recordings into the Recording activity and then if I delete them
|
||||
they are back into the pool to be imported again
|
||||
When I am on the "RoomRecordings1" "bigbluebuttonbn activity" page logged in as "admin"
|
||||
And I change window size to "large"
|
||||
And I click on "Import recording links" "button"
|
||||
And I select "Test Course 1 (C1)" from the "sourcecourseid" singleselect
|
||||
And I select "RoomRecordings" from the "sourcebn" singleselect
|
||||
|
||||
@@ -167,7 +167,9 @@ class core_renderer extends \core_renderer {
|
||||
$purposeclass .= ' activityiconcontainer';
|
||||
$purposeclass .= ' modicon_' . $this->page->activityname;
|
||||
$imagedata = html_writer::tag('div', $imagedata, ['class' => $purposeclass]);
|
||||
$prefix = get_string('modulename', $this->page->activityname);
|
||||
if (!empty($USER->editing)) {
|
||||
$prefix = get_string('modulename', $this->page->activityname);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user