Merge branch 'MDL-82862-main' of https://github.com/sarjona/moodle

This commit is contained in:
Huong Nguyen 2024-08-29 10:29:49 +07:00
commit 2b0b6e2177
No known key found for this signature in database
GPG Key ID: 40D88AB693A3E72A
2 changed files with 10 additions and 3 deletions

View File

@ -253,6 +253,12 @@ ul.competency-tree img {
height: 16px;
}
[data-region="managecompetencies"] a .icon {
[data-region="managecompetencies"] a .icon,
[data-region="plan-page"] a .icon {
color: initial;
}
[data-region="managecompetencies"] h2 a .icon,
[data-region="plan-page"] h2 a .icon {
font-size: smaller;
}

View File

@ -21,7 +21,9 @@
<h2>
{{{plan.name}}}
{{#plan.canbeedited}}
<a href="{{pluginbaseurl}}/editplan.php?id={{plan.id}}&amp;userid={{plan.userid}}">{{#pix}}t/edit, core, {{#str}}editplan, tool_lp{{/str}}{{/pix}}</a>
<a href="{{pluginbaseurl}}/editplan.php?id={{plan.id}}&amp;userid={{plan.userid}}">
{{#pix}}i/settings, core, {{#str}}editplan, tool_lp{{/str}}{{/pix}}
</a>
{{/plan.canbeedited}}
</h2>
{{#plan.canbeedited}}
@ -201,4 +203,3 @@ require(['tool_lp/competencies', 'tool_lp/planactions', 'tool_lp/user_competency
ucw.on('error-occured', planActions.refresh.bind(planActions, '[data-region="plan-summary"]'));
});
{{/js}}