mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-53657 tool_lp: Dialog box opens twice in the path
This commit is contained in:
parent
2f411bca83
commit
9af8f0e2ba
7 changed files with 9 additions and 23 deletions
|
@ -13,7 +13,7 @@
|
||||||
<p>{{{competency.description}}}</p>
|
<p>{{{competency.description}}}</p>
|
||||||
{{/competency.description}}
|
{{/competency.description}}
|
||||||
{{#comppath}}
|
{{#comppath}}
|
||||||
<span class="pull-left">{{#str}}path, tool_lp{{/str}} </span>{{> tool_lp/competency_path }}
|
<span class="pull-left">{{#str}}path, tool_lp{{/str}} </span>{{> tool_lp/competency_path }}
|
||||||
{{/comppath}}
|
{{/comppath}}
|
||||||
{{#showrelatedcompetencies}}
|
{{#showrelatedcompetencies}}
|
||||||
{{> tool_lp/related_competencies }}
|
{{> tool_lp/related_competencies }}
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
<p>{{{competency.description}}}</p>
|
<p>{{{competency.description}}}</p>
|
||||||
{{/competency}}
|
{{/competency}}
|
||||||
{{#comppath}}
|
{{#comppath}}
|
||||||
<span class="pull-left">{{#str}}path, tool_lp{{/str}}</span>{{> tool_lp/competency_path }}
|
<span class="pull-left">{{#str}}path, tool_lp{{/str}} </span>{{> tool_lp/competency_path }}
|
||||||
{{/comppath}}
|
{{/comppath}}
|
||||||
{{#usercompetency}}
|
{{#usercompetency}}
|
||||||
{{#grade}}
|
{{#grade}}
|
||||||
|
|
|
@ -122,7 +122,7 @@
|
||||||
<em>{{competency.idnumber}}</em>
|
<em>{{competency.idnumber}}</em>
|
||||||
{{#comppath}}
|
{{#comppath}}
|
||||||
<br>
|
<br>
|
||||||
<span class="pull-left">{{#str}}path, tool_lp{{/str}}</span>{{> tool_lp/competency_path }}
|
<span class="pull-left">{{#str}}path, tool_lp{{/str}} </span>{{> tool_lp/competency_path }}
|
||||||
{{/comppath}}
|
{{/comppath}}
|
||||||
</td>
|
</td>
|
||||||
{{#plan.iscompleted}}
|
{{#plan.iscompleted}}
|
||||||
|
|
|
@ -22,3 +22,9 @@
|
||||||
{{#str}}nocrossreferencedcompetencies, tool_lp{{/str}}
|
{{#str}}nocrossreferencedcompetencies, tool_lp{{/str}}
|
||||||
{{/relatedcompetencies}}
|
{{/relatedcompetencies}}
|
||||||
</div>
|
</div>
|
||||||
|
{{#js}}
|
||||||
|
require(['tool_lp/competencydialogue'], function(Compdialogue) {
|
||||||
|
var competencydialogue = new Compdialogue({includerelated : true});
|
||||||
|
competencydialogue.watch('[data-region="relatedcompetencies"]');
|
||||||
|
});
|
||||||
|
{{/js}}
|
||||||
|
|
|
@ -101,10 +101,3 @@
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#js}}
|
|
||||||
require(['tool_lp/competencydialogue'], function(Compdialogue) {
|
|
||||||
var competencydialogue = new Compdialogue({includerelated : true});
|
|
||||||
competencydialogue.watch('[data-region="competency-summary"]');
|
|
||||||
});
|
|
||||||
{{/js}}
|
|
||||||
|
|
|
@ -132,10 +132,3 @@
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
{{/usercompetencysummary}}
|
{{/usercompetencysummary}}
|
||||||
|
|
||||||
{{#js}}
|
|
||||||
require(['tool_lp/competencydialogue'], function(Compdialogue) {
|
|
||||||
var competencydialogue = new Compdialogue({includerelated : true});
|
|
||||||
competencydialogue.watch('[data-region="competency-summary"]');
|
|
||||||
});
|
|
||||||
{{/js}}
|
|
||||||
|
|
|
@ -126,9 +126,3 @@
|
||||||
</div>
|
</div>
|
||||||
{{/usercompetencysummary}}
|
{{/usercompetencysummary}}
|
||||||
|
|
||||||
{{#js}}
|
|
||||||
require(['tool_lp/competencydialogue'], function(Compdialogue) {
|
|
||||||
var competencydialogue = new Compdialogue({includerelated : true});
|
|
||||||
competencydialogue.watch('[data-region="competency-summary"]');
|
|
||||||
});
|
|
||||||
{{/js}}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue