Move more muc templates to plugin folder and use dashes

This commit is contained in:
JC Brand 2021-02-24 09:51:37 +01:00
parent 4d0012f672
commit d335a11119
17 changed files with 12 additions and 12 deletions

View File

@ -2,7 +2,7 @@ import BootstrapModal from "./base.js";
import { __ } from '../i18n';
import { api, converse } from "@converse/headless/core";
import log from "@converse/headless/log";
import tpl_muc_commands_modal from "../templates/muc_commands_modal.js";
import tpl_muc_commands_modal from "../templates/muc_commands-modal.js";
const { Strophe, $iq, sizzle } = converse.env;
const u = converse.env.utils;

View File

@ -1,6 +1,6 @@
import BottomPanel from 'plugins/chatview/bottom_panel.js';
import debounce from 'lodash/debounce';
import tpl_muc_bottom_panel from './templates/muc_bottom_panel.js';
import tpl_muc_bottom_panel from './templates/muc-bottom-panel.js';
import { __ } from 'i18n';
import { _converse, api, converse } from "@converse/headless/core";
import { getAutoCompleteListItem } from './utils.js';

View File

@ -1,5 +1,5 @@
import log from "@converse/headless/log";
import tpl_muc_config_form from "templates/muc_config_form.js";
import tpl_muc_config_form from "./templates/muc-config-form.js";
import { View } from '@converse/skeletor/src/view.js';
import { __ } from 'i18n';
import { api, converse } from "@converse/headless/core";

View File

@ -2,7 +2,7 @@ import ChatHeading from 'plugins/chatview/heading.js';
import MUCInviteModal from 'modals/muc-invite.js';
import RoomDetailsModal from 'modals/muc-details.js';
import debounce from 'lodash/debounce';
import tpl_muc_head from './templates/muc_head.js';
import tpl_muc_head from './templates/muc-head.js';
import { Model } from '@converse/skeletor/src/model.js';
import { __ } from 'i18n';
import { _converse, api, converse } from "@converse/headless/core";

View File

@ -1,7 +1,7 @@
import BootstrapModal from "modals/base.js";
import log from "@converse/headless/log";
import tpl_list_chatrooms_modal from "../templates/muc-list.js";
import tpl_muc_description from "../templates/muc_description.js";
import tpl_muc_description from "../templates/muc-description.js";
import tpl_spinner from "templates/spinner.js";
import { __ } from 'i18n';
import { _converse, api, converse } from "@converse/headless/core";

View File

@ -5,9 +5,9 @@ import BaseChatView from 'shared/chat/baseview.js';
import ModeratorToolsModal from 'modals/moderator-tools.js';
import log from '@converse/headless/log';
import tpl_muc from './templates/muc.js';
import tpl_muc_destroyed from './templates/muc_destroyed.js';
import tpl_muc_disconnect from './templates/muc_disconnect.js';
import tpl_muc_nickname_form from './templates/muc_nickname_form.js';
import tpl_muc_destroyed from './templates/muc-destroyed.js';
import tpl_muc_disconnect from './templates/muc-disconnect.js';
import tpl_muc_nickname_form from './templates/muc-nickname-form.js';
import tpl_spinner from 'templates/spinner.js';
import { Model } from '@converse/skeletor/src/model.js';
import { __ } from 'i18n';

View File

@ -1,4 +1,4 @@
import tpl_muc_password_form from "templates/muc_password_form.js";
import tpl_muc_password_form from "./templates/muc-password-form.js";
import { View } from '@converse/skeletor/src/view.js';

View File

@ -1,5 +1,5 @@
import 'shared/autocomplete/index.js';
import tpl_muc_sidebar from "./templates/muc_sidebar.js";
import tpl_muc_sidebar from "./templates/muc-sidebar.js";
import { CustomElement } from 'components/element.js';
import { api, converse } from "@converse/headless/core";

View File

@ -1,4 +1,4 @@
import tpl_muc_nickname_form from './muc_nickname_form.js';
import tpl_muc_nickname_form from './muc-nickname-form.js';
import { __ } from 'i18n';
import { api, converse } from "@converse/headless/core";
import { html } from "lit-html";

View File

@ -1,5 +1,5 @@
import { html } from "lit-html";
import { __ } from '../i18n';
import { __ } from 'i18n';
export default (o) => {