%PDF- %PDF-
Direktori : /home/vacivi36/ava/mod/forum/templates/ |
Current File : /home/vacivi36/ava/mod/forum/templates/forum_subscription_action.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 <http://www.gnu.org/licenses/>. }} {{! @template mod_forum/forum_subscription_action Actions bar for the subscribers page UI. Classes required for JS: * none Data attributes required for JS: * data-region Context variables required for this template: * see mod/forum/classes/output/subscription_actionbar.php Example context (json): { "subscriptionoptions": { "formid": "selectsubscriptions", "classes": "urlselect float-right", "disabled": false, "sesskey": "abcdef", "action": "http://localhost/course/jumpto.php", "helpicon": false, "options": [ { "name": "Subscription disabled", "value": "" }, { "name": "Optional subscrition", "value": "/mod/forum/subscribe.php?id=3&mode=0&sesskey=abc123" } ] }, "viewandmanageselect": { "formid": "selectviewandmanagesubscribers", "classes": "urlselect", "label": "Subscribers", "disabled": false, "sesskey": "abcdef", "action": "http://localhost/course/jumpto.php", "options": [ { "name": "View subscribers", "value": "/mod/forum/subscribers.php?id=3&edit=off", "selected": true }, { "name": "Manage subscribers", "value": "/mod/forum/subscribers.php?id=3&edit=on", "selected": false } ] } } }} <div class="container-fluid tertiary-navigation"> <div class="row"> {{#viewandmanageselect}} <div class="navitem"> {{>core/url_select}} </div> {{/viewandmanageselect}} {{#subscriptionoptions}} <div class="navitem ml-sm-auto"> {{>core/url_select}} </div> {{/subscriptionoptions}} </div> </div> <br>