Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
{{!
2
    This file is part of Moodle - http://moodle.org/
3
 
4
    Moodle is free software: you can redistribute it and/or modify
5
    it under the terms of the GNU General Public License as published by
6
    the Free Software Foundation, either version 3 of the License, or
7
    (at your option) any later version.
8
 
9
    Moodle is distributed in the hope that it will be useful,
10
    but WITHOUT ANY WARRANTY; without even the implied warranty of
11
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
    GNU General Public License for more details.
13
 
14
    You should have received a copy of the GNU General Public License
15
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
16
}}
17
{{!
18
    @template mod_assign/bulkactions/grading/bulk_general_action_trigger
19
 
20
    Renders the general bulk action trigger element in assignment grading page.
21
 
22
    Context variables required for this template:
23
    * action: The action to be performed.
24
    * title: The title of the action button.
25
    * icon: The icon of the action button.
26
    * showindropdown - Whether the action is displayed under a 'More' dropdown or as a separate button.
27
    * isfirst - Whether the action is the first one in the list.
28
 
29
    Example context (json):
30
    {
31
        "action": "lock",
32
        "title": "Lock",
33
        "icon": "<i class=\"icon fa fa-lock fa-fw\"></i>",
34
        "showindropdown": false,
35
        "isfirst": true
36
    }
37
}}
38
{{< core/bulkactions/bulk_action_trigger }}
39
    {{$action}}{{action}}{{/action}}
40
    {{$title}}{{title}}{{/title}}
41
    {{$icon}}{{{icon}}}{{/icon}}
42
{{/ core/bulkactions/bulk_action_trigger }}