芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/lib/templates/action_menu_trigger.mustache
{{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see
. }} {{! @template core/action_menu_trigger Action menu trigger. Example context (json): { "text": "Example link text", "title": "Example link title", "url": "http://example.com/link", "classes": "icon menu-action", "instance": "1", "triggerextraclasses": "", "attributes": [ {"name": "role", "value": "menuitem" }, {"name": "data-title", "value": "mymoodle,admin" } ], "secondary": { "classes": "menu align-tr-br", "attributes": [ {"name": "id", "value": "action-menu-0-menu"}, {"name": "data-rel", "value": "menu-content"}, {"name": "role", "value": "menu"}, {"name": "data-align", "value": "tr-br"} ], "items": [ {"actionmenulink": { "id": "action_link59ecf8394a68078", "disabled": false, "text": "Dashboard", "url": "http://example.com/link", "icon": { "key": "i/dashboard", "component": null, "title": "Dashboard" }, "classes": "icon menu-action", "attributes": [ {"name": "role", "value": "menuitem"}, {"name": "data-title", "value": "mymoodle,admin"} ], "instance": 1, "showtext": true } }, {"actionmenufiller": { "id": "action_link59ecf8394a68079", "disabled": false, "text": "", "url": "", "icon": null, "classes": "", "attributes": [ {"name": "role", "value": "menuitem"} ] } } ] } } }}
{{{actiontext}}} {{{menutrigger}}} {{#icon}} {{#pix}} {{key}},{{component}},{{title}} {{/pix}} {{/icon}} {{#rawicon}}{{{.}}}{{/rawicon}} {{#menutrigger}}
{{/menutrigger}}
{{#secondary}}
{{#items}} {{#actionmenulink}}
{{#icon}} {{#pix}}{{key}},{{component}},{{title}}{{/pix}} {{/icon}} {{#showtext}}
{{{text}}}
{{/showtext}}
{{/actionmenulink}} {{#actionmenufiller}}
{{/actionmenufiller}} {{^actionmenulink}} {{^actionmenufiller}}
{{> core/action_menu_item }}
{{/actionmenufiller}} {{/actionmenulink}} {{/items}}
{{/secondary}}