Added My Certificates link in dropdown user menu - Refs #8191

ofaj
José Loguercio 9 years ago
parent a341c1eba6
commit 1c74ca3e77
  1. 5
      main/inc/lib/template.lib.php
  2. 1
      main/template/default/layout/menu.tpl

@ -939,6 +939,11 @@ class Template
$this->assign('message_link', $message_link);
$this->assign('message_url', $message_url);
//Certificate Link
$certificatesUrl = api_get_path(WEB_CODE_PATH).'gradebook/my_certificates.php';
$certificateLink = Display::url(get_lang('MyCertificates'), $certificatesUrl);
$this->assign('certificate_link', $certificateLink);
$institution = api_get_setting('Institution');
$portal_name = empty($institution) ? api_get_setting('siteName') : $institution;

@ -28,6 +28,7 @@
<li>
{{ profile_link }}
{{ message_link }}
{{ certificate_link }}
</li>
</ul>
</li>

Loading…
Cancel
Save