Skip to content

Commit

Permalink
MDL-74420 core_tags: Remove secondary navigation from tags page
Browse files Browse the repository at this point in the history
  • Loading branch information
Amaia Anabitarte committed Apr 4, 2022
1 parent b5f5188 commit 23b751d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tag/edit.php
Expand Up @@ -69,6 +69,7 @@
$PAGE->set_context($systemcontext);
$PAGE->set_blocks_editing_capability('moodle/tag:editblocks');
$PAGE->set_pagelayout('standard');
$PAGE->set_secondary_navigation(false);

$tagname = $tag->get_display_name();
$tagcollid = $tag->tagcollid;
Expand Down
1 change: 1 addition & 0 deletions tag/index.php
Expand Up @@ -85,6 +85,7 @@
$tagnode->make_active();
$PAGE->set_pagelayout('standard');
$PAGE->set_blocks_editing_capability('moodle/tag:editblocks');
$PAGE->set_secondary_navigation(false);

$buttons = '';
if (has_capability('moodle/tag:manage', context_system::instance())) {
Expand Down
1 change: 1 addition & 0 deletions tag/search.php
Expand Up @@ -47,6 +47,7 @@

$PAGE->set_title(get_string('tags', 'tag'));
$PAGE->set_heading($SITE->fullname);
$PAGE->set_secondary_navigation(false);

$buttons = '';
if (has_capability('moodle/tag:manage', context_system::instance())) {
Expand Down

0 comments on commit 23b751d

Please sign in to comment.