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 qbank_history/history_header
19
 
20
    The header of the history page.
21
    * returnurl - The url of the page to return to, usually the base qbank page
22
    * questionincon - The icon of the question type
23
    * questionname - The name of the latest question version
24
 
25
    Example context (json):
26
    {
27
        "returnurl": "https://url/courseid=1",
28
        "questionicon": "<i class='fa fa-address-book'></i>",
29
        "questionname": "Question 1"
30
    }
31
}}
32
 
33
<div class="history-header mb-3">
34
    <div class="row">
35
        <div class="col-8 text-left font-weight-bold">
36
            <h3>
37
                {{{questionicon}}}
38
                {{questionname}}
39
            </h3>
40
        </div>
41
        <div class="col-4 text-right">
42
            <a class="btn btn-secondary" id="qbank-history-close" href="{{{returnurl}}}">{{#str}} close_history, qbank_history {{/str}}</a>
43
        </div>
44
    </div>
45
</div>