Merge branch 'MDL-80015-main' of https://github.com/roland04/moodle

This commit is contained in:
Sara Arjona
2023-12-05 15:51:21 +01:00
+4 -4
View File
@@ -70,14 +70,14 @@
"options": [
{
"url": "\/course\/index.php\/?categoryid=281",
"string": "Action 1"
"string": "Action 1",
"attributes": [
{
"name": "data-id",
"value": "1"
},
{
"name": "aria-role",
"name": "data-action",
"value": "test"
}
]
@@ -105,9 +105,9 @@
{{#str}}moremenu{{/str}}
</button>
<div id="moreactionsmenu" class="dropdown-menu" aria-labelledby="dropdown-actions" role="menu">
<div id="moreactionsmenu" class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdown-actions" role="menu">
{{#options}}
<a role="menuitem" class="dropdown-item" {{#attributes}}{{name}}="{{value}}"{{/attributes}} href="{{url}}" tabindex="-1">{{string}}</a>
<a role="menuitem" class="dropdown-item" {{#attributes}}{{name}}="{{value}}" {{/attributes}} href="{{url}}" tabindex="-1">{{string}}</a>
{{/options}}
</div>
</div>