Skip to content

Commit

Permalink
MDL-75289 mod_data: Reorder secondary nav tabs
Browse files Browse the repository at this point in the history
The Presets tab should be displayed before Fields and Templates.
  • Loading branch information
sarjona committed Oct 28, 2022
1 parent fa7a55a commit 53c4fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/data/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -3525,11 +3525,11 @@ function data_extend_settings_navigation(settings_navigation $settings, navigati
$defaultemplate = 'singletemplate';
}

$datanode->add(get_string('presets', 'data'), new moodle_url('/mod/data/preset.php', array('d' => $data->id)));
$datanode->add(get_string('fields', 'data'),
new moodle_url('/mod/data/field.php', array('d' => $data->id)));
$datanode->add(get_string('templates', 'data'),
new moodle_url('/mod/data/templates.php', array('d' => $data->id)));
$datanode->add(get_string('presets', 'data'), new moodle_url('/mod/data/preset.php', array('d' => $data->id)));
}

if (!empty($CFG->enablerssfeeds) && !empty($CFG->data_enablerssfeeds) && $data->rssarticles > 0) {
Expand Down

0 comments on commit 53c4fc9

Please sign in to comment.