Proyectos de Subversion Moodle

Rev

Rev 1208 | | Comparar con el anterior | 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_calendar/day_navigation
19
 
20
    Calendar day navigation.
21
 
22
    The purpose of this template is to render the navigation to switch to previous and next months.
23
 
24
    Classes required for JS:
25
    * none
26
 
27
    Data attributes required for JS:
28
    * none
29
 
30
    Example context (json):
31
    {
32
    }
33
}}
34
<div id="day-navigation-{{uniqid}}" class="controls clearfix">
35
    <div class="calendar-controls border-bottom pb-2 mt-3 mt-md-4">
36
        <h4 class="current mr-auto">{{periodname}}</h4>
37
        <a{{!
38
            }} href="{{previousperiodlink}}"{{!
39
            }} class="arrow_link previous btn btn-icon btn-secondary"{{!
40
            }} title="{{#str}}dayprev, calendar{{/str}}"{{!
41
            }} data-year="{{previousperiod.year}}"{{!
42
            }} data-month="{{previousperiod.mon}}"{{!
43
            }} data-day="{{previousperiod.mday}}"{{!
44
        }}>
1209 ariadna 45
            <span class="d-none arrow_text">{{previousperiodname}}</span>
1 efrain 46
        </a>
47
        <a{{!
48
            }} href="{{nextperiodlink}}"{{!
49
            }} class="arrow_link next btn btn-icon btn-secondary"{{!
50
            }} title="{{#str}}daynext, calendar{{/str}}"{{!
51
            }} data-year="{{nextperiod.year}}"{{!
52
            }} data-month="{{nextperiod.mon}}"{{!
53
            }} data-day="{{nextperiod.mday}}"{{!
54
        }}>
1209 ariadna 55
            <span class="d-none arrow_text">{{nextperiodname}}</span>
1 efrain 56
        </a>
57
    </div>
58
</div>