Línea 19... |
Línea 19... |
19 |
}}
|
19 |
}}
|
20 |
<div data-region="plan-page" data-id="{{plan.id}}" data-userid="{{plan.userid}}">
|
20 |
<div data-region="plan-page" data-id="{{plan.id}}" data-userid="{{plan.userid}}">
|
21 |
<h2>
|
21 |
<h2>
|
22 |
{{{plan.name}}}
|
22 |
{{{plan.name}}}
|
23 |
{{#plan.canbeedited}}
|
23 |
{{#plan.canbeedited}}
|
24 |
<a href="{{pluginbaseurl}}/editplan.php?id={{plan.id}}&userid={{plan.userid}}">{{#pix}}t/edit, core, {{#str}}editplan, tool_lp{{/str}}{{/pix}}</a>
|
24 |
<a href="{{pluginbaseurl}}/editplan.php?id={{plan.id}}&userid={{plan.userid}}">
|
- |
|
25 |
{{#pix}}i/settings, core, {{#str}}editplan, tool_lp{{/str}}{{/pix}}
|
- |
|
26 |
</a>
|
25 |
{{/plan.canbeedited}}
|
27 |
{{/plan.canbeedited}}
|
26 |
</h2>
|
28 |
</h2>
|
27 |
{{#plan.canbeedited}}
|
29 |
{{#plan.canbeedited}}
|
28 |
<div data-region="actions" class="clearfix">
|
30 |
<div data-region="actions" class="clearfix">
|
29 |
<div class="float-left">
|
31 |
<div class="float-start">
|
30 |
<!-- Button to add competencies to the plan -->
|
32 |
<!-- Button to add competencies to the plan -->
|
31 |
<button class="btn btn-secondary" data-action="add">{{#pix}}t/add{{/pix}} {{#str}}addcompetency, tool_lp{{/str}}</button>
|
33 |
<button class="btn btn-secondary" data-action="add">{{#pix}}t/add{{/pix}} {{#str}}addcompetency, tool_lp{{/str}}</button>
|
32 |
</div>
|
34 |
</div>
|
33 |
</div>
|
35 |
</div>
|
34 |
{{/plan.canbeedited}}
|
36 |
{{/plan.canbeedited}}
|
Línea 127... |
Línea 129... |
127 |
<tr class="drag-samenode" data-node="user-competency" data-id="{{competency.id}}"
|
129 |
<tr class="drag-samenode" data-node="user-competency" data-id="{{competency.id}}"
|
128 |
data-competencyid="{{competency.id}}"
|
130 |
data-competencyid="{{competency.id}}"
|
129 |
data-userid="{{plan.userid}}">
|
131 |
data-userid="{{plan.userid}}">
|
130 |
<td>
|
132 |
<td>
|
131 |
{{#plan.canbeedited}}
|
133 |
{{#plan.canbeedited}}
|
132 |
<span class="drag-handlecontainer float-left"></span>
|
134 |
<span class="drag-handlecontainer float-start"></span>
|
133 |
{{/plan.canbeedited}}
|
135 |
{{/plan.canbeedited}}
|
134 |
<a data-usercompetency="true" href="#">{{{competency.shortname}}}</a>
|
136 |
<a data-usercompetency="true" href="#">{{{competency.shortname}}}</a>
|
135 |
<em>{{competency.idnumber}}</em>
|
137 |
<em>{{competency.idnumber}}</em>
|
136 |
{{#comppath}}
|
138 |
{{#comppath}}
|
137 |
<br>
|
139 |
<br>
|
138 |
<span class="float-left">{{#str}}path, tool_lp{{/str}} </span>{{> tool_lp/competency_path }}
|
140 |
<span class="float-start">{{#str}}path, tool_lp{{/str}} </span>{{> tool_lp/competency_path }}
|
139 |
{{/comppath}}
|
141 |
{{/comppath}}
|
140 |
</td>
|
142 |
</td>
|
141 |
{{#plan.iscompleted}}
|
143 |
{{#plan.iscompleted}}
|
142 |
<td>{{usercompetencyplan.gradename}}</td>
|
144 |
<td>{{usercompetencyplan.gradename}}</td>
|
143 |
<td>{{usercompetencyplan.proficiencyname}}</td>
|
145 |
<td>{{usercompetencyplan.proficiencyname}}</td>
|
Línea 199... |
Línea 201... |
199 |
ucw.enhanceMenubar('.user-competency-actions');
|
201 |
ucw.enhanceMenubar('.user-competency-actions');
|
200 |
ucw.on('status-changed', planActions.refresh.bind(planActions, '[data-region="plan-summary"]'));
|
202 |
ucw.on('status-changed', planActions.refresh.bind(planActions, '[data-region="plan-summary"]'));
|
201 |
ucw.on('error-occured', planActions.refresh.bind(planActions, '[data-region="plan-summary"]'));
|
203 |
ucw.on('error-occured', planActions.refresh.bind(planActions, '[data-region="plan-summary"]'));
|
202 |
});
|
204 |
});
|
203 |
{{/js}}
|
205 |
{{/js}}
|
204 |
|
- |
|