Merge branch 'MDL-56734-master' of git://github.com/lameze/moodle

This commit is contained in:
David Monllao 2016-11-17 15:10:52 +08:00
commit 237af2ba61
2 changed files with 7 additions and 0 deletions

View File

@ -74,6 +74,12 @@ class manage_competency_frameworks_page implements renderable, templatable {
'get'
);
$this->navigation[] = $addpage;
$competenciesrepository = new single_button(
new moodle_url('https://moodle.net/competencies'),
get_string('competencyframeworksrepository', 'tool_lp'),
'get'
);
$this->navigation[] = $competenciesrepository;
}
$this->competencyframeworks = api::list_frameworks('shortname', 'ASC', 0, 0, $this->pagecontext);

View File

@ -61,6 +61,7 @@ $string['competencyframeworkcreated'] = 'Competency framework created.';
$string['competencyframeworkname'] = 'Name';
$string['competencyframeworkroot'] = 'No parent (top-level competency)';
$string['competencyframeworks'] = 'Competency frameworks';
$string['competencyframeworksrepository'] = 'Competency frameworks repository';
$string['competencyframeworkupdated'] = 'Competency framework updated.';
$string['competencyoutcome_complete'] = 'Mark as complete';
$string['competencyoutcome_evidence'] = 'Attach an evidence';