Commit 3d3a10c4 authored by Rebecca Blundell's avatar Rebecca Blundell Committed by Robert Lyon

Bug 1825617: Fix connected apps arrow bar nav

- set the left-side title to stay the same
- added overview

behatnotneeded

Change-Id: I15d7b5920d4a3b4c30de6924b94926077f95de1e
(cherry picked from commit 2c873561)
parent 197bad8b
......@@ -22,7 +22,7 @@ define('APPS', 1);
require('./../../init.php');
safe_require('blocktype', 'openbadgedisplayer');
define('TITLE', get_string('badgrtokentitle', 'blocktype.openbadgedisplayer'));
define('TITLE', get_string('connectedapps'));
// Users shouldn't be able to access this page if openbadgedisplayer blocktype is not active.
if (!is_plugin_active('openbadgedisplayer','blocktype')) {
......
......@@ -87,6 +87,13 @@ class PluginBlocktypeOpenbadgedisplayer extends SystemBlocktype {
'weight' => 20,
'iconclass' => 'flag'
),
'apps' => array (
'path' => 'settings/apps',
'url' => '/account/apps.php',
'title' => get_string('overview'),
'weight' => 5,
'iconclass' => 'flag'
)
);
}
......
......@@ -25,7 +25,7 @@ define('APPS', 1);
require('./../../init.php');
require_once($CFG->docroot . 'webservice/lib.php');
safe_require('module', 'mobileapi');
define('TITLE', get_string('mytokenspagetitle1', 'module.mobileapi'));
define('TITLE', get_string('connectedapps'));
// Users shouldn't be able to access this page if webservices are not enabled.
if (!PluginModuleMobileapi::is_service_ready()) {
......
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