mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
template: Move admin_profile_field_list template to settings folder.
Moved `admin_profile_field_list` template to `/templates/settings/` folder as earlier, it was inaccurately placed within the `/templates` folder rather than the `/templates/settings` folder. Also modified the node tests to reflect the new changes.
This commit is contained in:
committed by
Tim Abbott
parent
19699720bc
commit
17133b5b1e
@@ -65,7 +65,7 @@ function test_populate(opts) {
|
||||
|
||||
const template_data = [];
|
||||
stub_templates((fn, data) => {
|
||||
assert.equal(fn, "admin_profile_field_list");
|
||||
assert.equal(fn, "settings/admin_profile_field_list");
|
||||
template_data.push(data);
|
||||
return "whatever";
|
||||
});
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import $ from "jquery";
|
||||
import {Sortable} from "sortablejs";
|
||||
|
||||
import render_admin_profile_field_list from "../templates/admin_profile_field_list.hbs";
|
||||
import render_admin_profile_field_list from "../templates/settings/admin_profile_field_list.hbs";
|
||||
import render_settings_profile_field_choice from "../templates/settings/profile_field_choice.hbs";
|
||||
|
||||
import * as channel from "./channel";
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
<hr />
|
||||
<div class="edit_profile_field_choices_container">
|
||||
{{#each choices}}
|
||||
{{> settings/profile_field_choice }}
|
||||
{{> profile_field_choice }}
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user