MDL-82862 tool_lp: Update edit icon for learning plans

The edit icon in the learning plans page has been replaced from pen
to cog, for consistency with changes done in MDL-82211.
This patch also reduces the size for this icon.
This commit is contained in:
Sara Arjona 2024-08-22 13:53:32 +02:00
parent e0a9cf2288
commit 62c2c6f385
No known key found for this signature in database
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}}