banner: Remove the stale 'banner-contains-button' class.

This commit is contained in:
Prakhar Pratyush 2024-05-01 23:54:02 +05:30 committed by Tim Abbott
parent 0a66fada64
commit a35b922f05
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
{{#if user_id}}data-user-id="{{user_id}}"{{/if}}
{{#if stream_id}}data-stream-id="{{stream_id}}"{{/if}}
{{#if topic_name}}data-topic-name="{{topic_name}}"{{/if}}>
<div class="main-view-banner-elements-wrapper {{#if button_text}}banner-contains-button{{/if}}">
<div class="main-view-banner-elements-wrapper">
{{#if banner_text}}
<p class="banner_content">{{banner_text}}</p>
{{else}}

View File

@ -1,7 +1,7 @@
<div
class="main-view-banner success message_scheduled_success_compose_banner"
data-scheduled-message-id="{{scheduled_message_id}}">
<div class="main-view-banner-elements-wrapper {{#if button_text}}banner-contains-button{{/if}}">
<div class="main-view-banner-elements-wrapper">
<p class="banner_content">{{t 'Your message has been scheduled for {deliver_at}.' }}
<a href="#scheduled">{{t "View scheduled messages" }}</a>
</p>

View File

@ -1,5 +1,5 @@
<div class="main-view-banner {{banner_type}} {{classname}}">
<div class="main-view-banner-elements-wrapper {{#if button_text}}banner-contains-button{{/if}}">
<div class="main-view-banner-elements-wrapper">
{{#if banner_text}}
<p class="banner_content">{{banner_text}}</p>
{{else}}