compose banner: Rename banner shown after message is sent.

This is both more clear regarding what the banner does, and is now
in the same folder as the other compose banners.
This commit is contained in:
evykassirer
2022-12-09 16:49:05 -08:00
committed by Tim Abbott
parent 44c0be7a31
commit 7d17a11db0
2 changed files with 2 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
import $ from "jquery";
import render_compose_notification from "../templates/compose_notification.hbs";
import render_message_sent_banner from "../templates/compose_banner/message_sent_banner.hbs";
import * as alert_words from "./alert_words";
import * as blueslip from "./blueslip";
@@ -171,7 +171,7 @@ export function notify_above_composebox(
link_text,
) {
const $notification = $(
render_compose_notification({
render_message_sent_banner({
note,
link_class,
above_composebox_narrow_url,

View File

@@ -1,4 +1,3 @@
{{! Content of sent-message notifications }}
<div class="compose-notifications-content">
{{note}} {{#if link_class}}<a href="{{above_composebox_narrow_url}}" class="{{link_class}}" data-message-id="{{link_msg_id}}">{{link_text}}</a>{{/if}}
<button type="button" class="out-of-view-notification-close close">&times;</button>