Commit 29c4106e authored by jun's avatar jun
Browse files

Merge branch 'MDL-58200-master' of git://github.com/damyon/moodle

parents 24131d08 81a989e6
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
<li> <li>
<a href="#">{{#str}}edit{{/str}}</a><b class="caret"></b> <a href="#">{{#str}}edit{{/str}}</a><b class="caret"></b>
<ul class="dropdown dropdown-menu"> <ul class="dropdown dropdown-menu">
{{#canmanage}}
<li class="dropdown-item"> <li class="dropdown-item">
<a href="#" data-action="edit"> <a href="#" data-action="edit">
{{#pix}}t/edit{{/pix}} {{#str}}edit{{/str}} {{#pix}}t/edit{{/pix}} {{#str}}edit{{/str}}
...@@ -89,11 +90,13 @@ ...@@ -89,11 +90,13 @@
{{#pix}}t/down{{/pix}} {{#str}}movedown{{/str}} {{#pix}}t/down{{/pix}} {{#str}}movedown{{/str}}
</a> </a>
</li> </li>
{{/canmanage}}
<li class="dropdown-item"> <li class="dropdown-item">
<a href="#" data-action="linkedcourses"> <a href="#" data-action="linkedcourses">
{{#pix}}t/viewdetails{{/pix}} {{#str}}linkedcourses, tool_lp{{/str}} {{#pix}}t/viewdetails{{/pix}} {{#str}}linkedcourses, tool_lp{{/str}}
</a> </a>
</li> </li>
{{#canmanage}}
<li class="dropdown-item"> <li class="dropdown-item">
<a href="#" data-action="relatedcompetencies"> <a href="#" data-action="relatedcompetencies">
{{#pix}}t/add{{/pix}} {{#str}}addcrossreferencedcompetency, tool_lp{{/str}} {{#pix}}t/add{{/pix}} {{#str}}addcrossreferencedcompetency, tool_lp{{/str}}
...@@ -104,6 +107,7 @@ ...@@ -104,6 +107,7 @@
{{#pix}}t/edit{{/pix}} {{#str}}competencyrule, tool_lp{{/str}} {{#pix}}t/edit{{/pix}} {{#str}}competencyrule, tool_lp{{/str}}
</a> </a>
</li> </li>
{{/canmanage}}
</ul> </ul>
</li> </li>
</ul> </ul>
...@@ -112,11 +116,11 @@ ...@@ -112,11 +116,11 @@
<p data-region="competencyinfo"> <p data-region="competencyinfo">
{{#str}}nocompetencyselected, tool_lp{{/str}} {{#str}}nocompetencyselected, tool_lp{{/str}}
</p> </p>
{{#canmanage}}
<div data-region="competencyactions"> <div data-region="competencyactions">
{{#canmanage}}
<button class="btn btn-secondary" data-action="add">{{#pix}}t/add{{/pix}} <span data-region="term"></span></button> <button class="btn btn-secondary" data-action="add">{{#pix}}t/add{{/pix}} <span data-region="term"></span></button>
{{/canmanage}}
</div> </div>
{{/canmanage}}
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment