template: Move admin_user_group_list template to settings folder.

Moved `admin_user_group_list` template to `/templates/settings/` folder
as earlier, it was inaccurately placed within the `/templates` folder
and should have been within the `/templates/settings` folder.
Also modified the node tests to reflect the new changes.
This commit is contained in:
aryanshridhar
2021-04-25 00:23:39 +05:30
committed by Tim Abbott
parent a82827ca75
commit c199229aa9
3 changed files with 2 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ test_ui("populate_user_groups", (override) => {
let templates_render_called = false;
const fake_rendered_temp = $.create("fake_admin_user_group_list_template_rendered");
stub_templates((template, args) => {
assert.equal(template, "admin_user_group_list");
assert.equal(template, "settings/admin_user_group_list");
assert.equal(args.user_group.id, 1);
assert.equal(args.user_group.name, "Mobile");
assert.equal(args.user_group.description, "All mobile people");

View File

@@ -1,8 +1,8 @@
import $ from "jquery";
import _ from "lodash";
import render_admin_user_group_list from "../templates/admin_user_group_list.hbs";
import render_confirm_delete_user from "../templates/confirm_delete_user.hbs";
import render_admin_user_group_list from "../templates/settings/admin_user_group_list.hbs";
import * as channel from "./channel";
import * as confirm_dialog from "./confirm_dialog";