mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +00:00
stream-settings: Remove unused tooltip for announcement stream.
In commit 449febf036, the tooltip that provided information about
the announcement stream was replace with inline text on the form.
Removes the now unused template and code in stream_create for this
tooltip.
This commit is contained in:
committed by
Tim Abbott
parent
3f1ffd0068
commit
b71f4b9342
@@ -1,7 +1,5 @@
|
|||||||
import $ from "jquery";
|
import $ from "jquery";
|
||||||
import tippy from "tippy.js";
|
|
||||||
|
|
||||||
import render_announce_stream_docs from "../templates/announce_stream_docs.hbs";
|
|
||||||
import render_subscription_invites_warning_modal from "../templates/confirm_dialog/confirm_subscription_invites_warning.hbs";
|
import render_subscription_invites_warning_modal from "../templates/confirm_dialog/confirm_subscription_invites_warning.hbs";
|
||||||
|
|
||||||
import * as channel from "./channel";
|
import * as channel from "./channel";
|
||||||
@@ -18,7 +16,6 @@ import * as stream_data from "./stream_data";
|
|||||||
import * as stream_settings_components from "./stream_settings_components";
|
import * as stream_settings_components from "./stream_settings_components";
|
||||||
import * as stream_ui_updates from "./stream_ui_updates";
|
import * as stream_ui_updates from "./stream_ui_updates";
|
||||||
import * as ui_report from "./ui_report";
|
import * as ui_report from "./ui_report";
|
||||||
import {parse_html} from "./ui_util";
|
|
||||||
|
|
||||||
let created_stream;
|
let created_stream;
|
||||||
|
|
||||||
@@ -454,16 +451,6 @@ export function set_up_handlers() {
|
|||||||
stream_name_error.pre_validate(stream_name);
|
stream_name_error.pre_validate(stream_name);
|
||||||
});
|
});
|
||||||
|
|
||||||
tippy("#announce-stream-docs", {
|
|
||||||
content: () =>
|
|
||||||
parse_html(
|
|
||||||
render_announce_stream_docs({
|
|
||||||
new_stream_announcements_stream:
|
|
||||||
stream_data.get_new_stream_announcements_stream(),
|
|
||||||
}),
|
|
||||||
),
|
|
||||||
});
|
|
||||||
|
|
||||||
// Do not allow the user to enter newline characters while typing out the
|
// Do not allow the user to enter newline characters while typing out the
|
||||||
// stream's description during it's creation.
|
// stream's description during it's creation.
|
||||||
$container.on("keydown", "#create_stream_description", (e) => {
|
$container.on("keydown", "#create_stream_description", (e) => {
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
{{! Explanation of what "announce stream" does when creating a stream }}
|
|
||||||
<div>
|
|
||||||
|
|
||||||
{{#tr}}
|
|
||||||
<p>Stream will be announced in <b>#{new_stream_announcements_stream}</b>.</p>
|
|
||||||
{{/tr}}
|
|
||||||
<p>{{t 'Organization administrators can change the announcement stream in the organization settings.' }}</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
Reference in New Issue
Block a user