| Línea 26... |
Línea 26... |
| 26 |
"controlmenu": "[tools menu]",
|
26 |
"controlmenu": "[tools menu]",
|
| 27 |
"header": {
|
27 |
"header": {
|
| 28 |
"name": "Section title",
|
28 |
"name": "Section title",
|
| 29 |
"title": "<a href=\"http://moodle/course/view.php?id=5#section-0\">Section title</a>",
|
29 |
"title": "<a href=\"http://moodle/course/view.php?id=5#section-0\">Section title</a>",
|
| 30 |
"url": "#",
|
30 |
"url": "#",
|
| 31 |
"ishidden": true
|
31 |
"ishidden": true,
|
| - |
|
32 |
"headinglevel": 3
|
| 32 |
},
|
33 |
},
|
| 33 |
"cmlist": {
|
34 |
"cmlist": {
|
| 34 |
"cms": [
|
35 |
"cms": [
|
| 35 |
{
|
36 |
{
|
| 36 |
"cmitem": {
|
37 |
"cmitem": {
|
| Línea 75... |
Línea 76... |
| 75 |
"menu": "<a href=\"#\" class=\"d-inline-block dropdown-toggle icon-no-margin\">Edit<b class=\"caret\"></b></a>",
|
76 |
"menu": "<a href=\"#\" class=\"d-inline-block dropdown-toggle icon-no-margin\">Edit<b class=\"caret\"></b></a>",
|
| 76 |
"hasmenu": true
|
77 |
"hasmenu": true
|
| 77 |
},
|
78 |
},
|
| 78 |
"cmcontrols": "[Add an activity or resource]",
|
79 |
"cmcontrols": "[Add an activity or resource]",
|
| 79 |
"iscoursedisplaymultipage": true,
|
80 |
"iscoursedisplaymultipage": true,
|
| 80 |
"sectionreturnid": 0,
|
81 |
"sectionreturnnum": 0,
|
| 81 |
"contentcollapsed": false,
|
82 |
"contentcollapsed": false,
|
| 82 |
"insertafter": true,
|
83 |
"insertafter": true,
|
| 83 |
"numsections": 42,
|
84 |
"numsections": 42,
|
| 84 |
"sitehome": false,
|
85 |
"sitehome": false,
|
| - |
|
86 |
"isstealth": false,
|
| 85 |
"highlightedlabel" : "Highlighted"
|
87 |
"highlightedlabel" : "Highlighted"
|
| 86 |
}
|
88 |
}
|
| 87 |
}}
|
89 |
}}
|
| - |
|
90 |
<div class="course-section-header d-flex"
|
| - |
|
91 |
data-for="section_title"
|
| - |
|
92 |
data-id="{{id}}"
|
| - |
|
93 |
data-number="{{num}}"
|
| - |
|
94 |
>
|
| 88 |
{{#singleheader}}
|
95 |
{{#singleheader}}
|
| 89 |
{{$ core_courseformat/local/content/section/header }}
|
96 |
{{$ core_courseformat/local/content/section/header }}
|
| 90 |
{{> core_courseformat/local/content/section/header }}
|
97 |
{{> core_courseformat/local/content/section/header }}
|
| 91 |
{{/ core_courseformat/local/content/section/header }}
|
98 |
{{/ core_courseformat/local/content/section/header }}
|
| 92 |
{{/singleheader}}
|
99 |
{{/singleheader}}
|
| 93 |
{{#header}}
|
100 |
{{#header}}
|
| 94 |
{{$ core_courseformat/local/content/section/header }}
|
101 |
{{$ core_courseformat/local/content/section/header }}
|
| 95 |
{{> core_courseformat/local/content/section/header }}
|
102 |
{{> core_courseformat/local/content/section/header }}
|
| 96 |
{{/ core_courseformat/local/content/section/header }}
|
103 |
{{/ core_courseformat/local/content/section/header }}
|
| 97 |
{{/header}}
|
104 |
{{/header}}
|
| 98 |
{{^singleheader}}
|
105 |
{{^singleheader}}
|
| 99 |
{{#restrictionlock}}
|
106 |
{{#restrictionlock}}
|
| 100 |
<div class="align-self-center ml-2">
|
107 |
<div class="align-self-center ms-2">
|
| 101 |
{{#pix}}t/unlock, core{{/pix}}
|
108 |
{{#pix}}t/unlock, core{{/pix}}
|
| 102 |
</div>
|
109 |
</div>
|
| 103 |
{{/restrictionlock}}
|
110 |
{{/restrictionlock}}
|
| 104 |
{{/singleheader}}
|
111 |
{{/singleheader}}
|
| 105 |
<div data-region="sectionbadges" class="sectionbadges d-flex align-items-center">
|
112 |
<div data-region="sectionbadges" class="sectionbadges d-flex align-items-center">
|
| 106 |
{{$ core_courseformat/local/content/section/badges }}
|
113 |
{{$ core_courseformat/local/content/section/badges }}
|
| 107 |
{{> core_courseformat/local/content/section/badges }}
|
114 |
{{> core_courseformat/local/content/section/badges }}
|
| 108 |
{{/ core_courseformat/local/content/section/badges }}
|
115 |
{{/ core_courseformat/local/content/section/badges }}
|
| 109 |
</div>
|
- |
|
| 110 |
{{#collapsemenu}}
|
- |
|
| 111 |
{{^displayonesection}}
|
- |
|
| 112 |
<div class="flex-fill d-flex justify-content-end mr-2 align-self-start mt-2">
|
- |
|
| 113 |
<a
|
- |
|
| 114 |
id="collapsesections"
|
- |
|
| 115 |
class="section-collapsemenu"
|
- |
|
| 116 |
href="#"
|
- |
|
| 117 |
aria-expanded="true"
|
- |
|
| 118 |
role="button"
|
- |
|
| 119 |
data-toggle="toggleall"
|
- |
|
| 120 |
>
|
- |
|
| 121 |
<span class="collapseall text-nowrap">{{#str}}collapseall{{/str}}</span>
|
- |
|
| 122 |
<span class="expandall text-nowrap">{{#str}}expandall{{/str}}</span>
|
- |
|
| 123 |
</a>
|
- |
|
| 124 |
</div>
|
116 |
</div>
|
| - |
|
117 |
{{#collapsemenu}}
|
| 125 |
{{/displayonesection}}
|
118 |
{{^displayonesection}}
|
| - |
|
119 |
<div class="flex-fill d-flex justify-content-end me-2 align-self-start mt-2">
|
| 126 |
{{/collapsemenu}}
|
120 |
<a id="collapsesections"
|
| - |
|
121 |
class="section-collapsemenu"
|
| 127 |
{{#controlmenu}}
|
122 |
href="#"
|
| - |
|
123 |
aria-expanded="true"
|
| 128 |
{{^displayonesection}}
|
124 |
role="button"
|
| 129 |
{{$ core_courseformat/local/content/section/controlmenu }}
|
125 |
data-toggle="toggleall"
|
| - |
|
126 |
>
|
| 130 |
{{> core_courseformat/local/content/section/controlmenu }}
|
127 |
<span class="collapseall text-nowrap">{{#str}}collapseall{{/str}}</span>
|
| 131 |
{{/ core_courseformat/local/content/section/controlmenu }}
|
128 |
<span class="expandall text-nowrap">{{#str}}expandall{{/str}}</span>
|
| - |
|
129 |
</a>
|
| - |
|
130 |
</div>
|
| 132 |
{{/displayonesection}}
|
131 |
{{/displayonesection}}
|
| 133 |
{{/controlmenu}}
|
132 |
{{/collapsemenu}}
|
| 134 |
{{#header}}
|
- |
|
| 135 |
{{#headerdisplaymultipage}}
|
133 |
{{#controlmenu}}
|
| 136 |
{{^displayonesection}}
|
134 |
{{^displayonesection}}
|
| - |
|
135 |
{{$ core_courseformat/local/content/section/controlmenu }}
|
| - |
|
136 |
{{> core_courseformat/local/content/section/controlmenu }}
|
| - |
|
137 |
{{/ core_courseformat/local/content/section/controlmenu }}
|
| - |
|
138 |
{{/displayonesection}}
|
| - |
|
139 |
{{/controlmenu}}
|
| - |
|
140 |
{{#header}}
|
| - |
|
141 |
{{#headerdisplaymultipage}}
|
| - |
|
142 |
{{^displayonesection}}
|
| 137 |
{{^controlmenu}}
|
143 |
{{^controlmenu}}
|
| 138 |
<div class="section_goto bulk-hidden ml-auto" data-sectionid="{{id}}">
|
144 |
<div class="section_goto bulk-hidden ms-auto" data-sectionid="{{id}}">
|
| 139 |
<a href="{{{url}}}"
|
145 |
<a href="{{{url}}}"
|
| 140 |
class="btn btn-icon d-flex align-items-center justify-content-center icon-no-margin"
|
146 |
class="btn btn-icon d-flex"
|
| 141 |
title="{{#str}}gotosection, course, {{name}}{{/str}}">
|
147 |
title="{{#str}}gotosection, course, {{name}}{{/str}}">
|
| 142 |
<span class="dir-rtl-hide">
|
148 |
<span class="dir-rtl-hide">
|
| 143 |
{{#pix}}t/right, moodle{{/pix}}
|
149 |
{{#pix}}t/right, moodle{{/pix}}
|
| 144 |
</span>
|
150 |
</span>
|
| 145 |
<span class="dir-ltr-hide">
|
151 |
<span class="dir-ltr-hide">
|
| 146 |
{{#pix}}t/left, moodle, {{#str}}gotosection, course, {{name}}{{/str}}{{/pix}}
|
152 |
{{#pix}}t/left, moodle, {{#str}}gotosection, course, {{name}}{{/str}}{{/pix}}
|
| 147 |
</span>
|
153 |
</span>
|
| 148 |
<span class="sr-only">
|
154 |
<span class="visually-hidden">
|
| 149 |
{{#str}}gotosection, course, {{name}}{{/str}}
|
155 |
{{#str}}gotosection, course, {{name}}{{/str}}
|
| 150 |
</span>
|
156 |
</span>
|
| 151 |
</a>
|
157 |
</a>
|
| 152 |
</div>
|
158 |
</div>
|
| 153 |
{{/controlmenu}}
|
159 |
{{/controlmenu}}
|
| 154 |
{{/displayonesection}}
|
160 |
{{/displayonesection}}
|
| 155 |
{{/headerdisplaymultipage}}
|
161 |
{{/headerdisplaymultipage}}
|
| 156 |
{{/header}}
|
162 |
{{/header}}
|
| 157 |
</div>
|
163 |
</div>
|
| 158 |
<div id="coursecontentcollapse{{num}}"
|
164 |
<div id="coursecontentcollapseid{{id}}"
|
| 159 |
class="content {{^iscoursedisplaymultipage}}{{^sitehome}}{{^displayonesection}}course-content-item-content collapse {{^contentcollapsed}}show{{/contentcollapsed}}{{/displayonesection}}{{/sitehome}}{{/iscoursedisplaymultipage}}">
|
165 |
class="content {{^iscoursedisplaymultipage}}{{^sitehome}}{{^displayonesection}}course-content-item-content collapse {{^contentcollapsed}}show{{/contentcollapsed}}{{/displayonesection}}{{/sitehome}}{{/iscoursedisplaymultipage}}">
|
| 160 |
<div class="{{#hasavailability}}description{{/hasavailability}} my-3" data-for="sectioninfo">
|
166 |
<div class="{{#hasavailability}}description{{/hasavailability}} my-3" data-for="sectioninfo">
|
| - |
|
167 |
{{#isstealth}}
|
| - |
|
168 |
<div class="alert alert-warning">
|
| - |
|
169 |
{{#str}} orphansectionwarning, core_courseformat {{/str}}
|
| - |
|
170 |
</div>
|
| - |
|
171 |
{{/isstealth}}
|
| 161 |
{{#summary}}
|
172 |
{{#summary}}
|
| 162 |
{{$ core_courseformat/local/content/section/summary }}
|
173 |
{{$ core_courseformat/local/content/section/summary }}
|
| 163 |
{{> core_courseformat/local/content/section/summary }}
|
174 |
{{> core_courseformat/local/content/section/summary }}
|
| 164 |
{{/ core_courseformat/local/content/section/summary }}
|
175 |
{{/ core_courseformat/local/content/section/summary }}
|
| 165 |
{{/summary}}
|
176 |
{{/summary}}
|
| 166 |
{{#availability}}
|
177 |
{{#availability}}
|
| 167 |
{{$ core_courseformat/local/content/section/availability }}
|
178 |
{{$ core_courseformat/local/content/section/availability }}
|
| 168 |
{{> core_courseformat/local/content/section/availability }}
|
179 |
{{> core_courseformat/local/content/section/availability }}
|
| 169 |
{{/ core_courseformat/local/content/section/availability }}
|
180 |
{{/ core_courseformat/local/content/section/availability }}
|
| 170 |
{{/availability}}
|
181 |
{{/availability}}
|
| - |
|
182 |
</div>
|
| - |
|
183 |
{{#cmsummary}}
|
| - |
|
184 |
{{$ core_courseformat/local/content/section/cmsummary }}
|
| - |
|
185 |
{{> core_courseformat/local/content/section/cmsummary }}
|
| - |
|
186 |
{{/ core_courseformat/local/content/section/cmsummary }}
|
| - |
|
187 |
{{/cmsummary}}
|
| - |
|
188 |
{{#cmlist}}
|
| - |
|
189 |
{{$ core_courseformat/local/content/section/cmlist }}
|
| - |
|
190 |
{{> core_courseformat/local/content/section/cmlist }}
|
| - |
|
191 |
{{/ core_courseformat/local/content/section/cmlist }}
|
| - |
|
192 |
{{/cmlist}}
|
| - |
|
193 |
{{{cmcontrols}}}
|
| 171 |
</div>
|
194 |
</div>
|
| 172 |
{{#cmsummary}}
|
- |
|
| 173 |
{{$ core_courseformat/local/content/section/cmsummary }}
|
- |
|
| 174 |
{{> core_courseformat/local/content/section/cmsummary }}
|
- |
|
| 175 |
{{/ core_courseformat/local/content/section/cmsummary }}
|
- |
|
| 176 |
{{/cmsummary}}
|
- |
|
| 177 |
{{#cmlist}}
|
- |
|
| 178 |
{{$ core_courseformat/local/content/section/cmlist }}
|
- |
|
| 179 |
{{> core_courseformat/local/content/section/cmlist }}
|
- |
|
| 180 |
{{/ core_courseformat/local/content/section/cmlist }}
|
- |
|
| 181 |
{{/cmlist}}
|
- |
|
| 182 |
{{{cmcontrols}}}
|
- |
|