Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 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 core_reportbuilder/local/conditions/header
19
 
20
    Template for the header of a condition instance within the condition form
21
 
22
    Example context (json):
23
    {
24
        "id": 1,
25
        "heading": "Date modified",
26
        "entityname": "Course"
27
    }
28
}}
29
<div class="condition list-group-item list-group-item-action text-dark" data-region="active-condition"
30
        data-condition-id="{{id}}" data-condition-name="{{heading}}" data-condition-position="{{sortorder}}">
31
    <div class="condition-header d-flex align-items-start">
32
        {{>core/drag_handle}}
33
        <div>
34
            <div class="d-flex">
35
                <small class="text-muted text-uppercase">{{entityname}} • {{heading}}</small>
36
            </div>
37
        </div>
38
        <button class="btn btn-link p-0 ml-auto"
39
                type="button"
40
                data-action="report-remove-condition"
41
                title="{{#str}}deletecondition, core_reportbuilder, {{{heading}}}{{/str}}"
42
                aria-label="{{#str}}deletecondition, core_reportbuilder, {{{heading}}}{{/str}}">
43
            {{#pix}}e/cancel, core{{/pix}}
44
        </button>
45
    </div>