Skip to content

Commit

Permalink
MDL-54566 tool_lp: added message when no competencies present
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjnelson committed May 16, 2016
1 parent 65cbefc commit c7e4417
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin/tool/lp/lang/en/tool_lp.php
Expand Up @@ -144,6 +144,8 @@
$string['noactivities'] = 'No activities';
$string['nocompetencies'] = 'No competencies have been created in this framework.';
$string['nocompetenciesincourse'] = 'No competencies have been linked to this course.';
$string['nocompetenciesinevidence'] = 'No competencies have been linked to this evidence.';
$string['nocompetenciesinlearningplan'] = 'No competencies have been linked to this learning plan.';
$string['nocompetenciesintemplate'] = 'No competencies have been linked to this learning plan template.';
$string['nocompetencyframeworks'] = 'No competency frameworks have been created yet.';
$string['nocompetencyselected'] = 'No competency selected';
Expand Down
5 changes: 5 additions & 0 deletions admin/tool/lp/templates/plan_page.mustache
Expand Up @@ -184,6 +184,11 @@
{{/competencies}}
</tbody>
</table>
{{^competencies}}
<p class="alert alert-info">
{{#str}}nocompetenciesinlearningplan, tool_lp{{/str}}
</p>
{{/competencies}}
</div>
</div>
{{#js}}
Expand Down
5 changes: 5 additions & 0 deletions admin/tool/lp/templates/user_evidence_page.mustache
Expand Up @@ -94,6 +94,11 @@
{{/usercompetencies}}
</tbody>
</table>
{{^usercompetencies}}
<p class="alert alert-info">
{{#str}}nocompetenciesinevidence, tool_lp{{/str}}
</p>
{{/usercompetencies}}
</div>
</div>

Expand Down

0 comments on commit c7e4417

Please sign in to comment.