open-lms-open-source / moodle-theme_snap

GNU General Public License v3.0
79 stars 75 forks source link

Add new link in activity_navigation.mustache #221

Closed PLAPLA246 closed 2 years ago

PLAPLA246 commented 2 years ago

Hello,

I would like to remove the links present in activity_navigation.mustache and add a link back to the section. Could you tell me the code please ?

PLAPLA246 commented 2 years ago

Here the original code

Context variables required for this template:

{{< core/columns-1to1to1}} {{$column1}}
{{#prevlink}}{{> core/action_link }}{{/prevlink}}
{{/column1}} {{$column2}}
{{#activitylist}}{{> core/url_select }}{{/activitylist}}
{{/column2}} {{$column3}}
{{#nextlink}}{{> core/action_link }}{{/nextlink}}