Files
zulip/web/templates/stream_settings/copy_email_address_modal.hbs
apoorvapendse 03f5242384 copy_email_modal: Avoid unnecessary raw HTML description.
The context passed in web/src/stream_edit.ts
never contains any HTML formatted string for
the description, so it is safe to replace
`{{{` with `{{`.

Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-07-28 12:56:44 -07:00

31 lines
1.2 KiB
Handlebars

<div class="copy-email-modal">
{{> ../dropdown_widget_with_label
widget_name="sender_channel_email_address"
label=(t 'Who should be the sender of the Zulip messages for this email address?')}}
<p class="question-which-parts">
{{t "Which parts of the emails should be included in the Zulip messages?"}}
</p>
{{#each tags}}
{{#if (eq this.name "prefer-html") }}
<hr />
{{/if}}
<div class="input-group" id="{{this.name}}-input-group">
<label class="checkbox">
<input class="tag-checkbox" id="{{ this.name }}" type="checkbox"/>
<span class="rendered-checkbox"></span>
</label>
<label class="inline" for="{{this.name}}">{{this.description}}</label>
</div>
{{/each}}
<hr />
<p class="stream-email-header">
{{t "Channel email address:"}}
</p>
<div class="stream-email">
<div class="email-address">{{email_address}}</div>
<span class="copy-button tippy-zulip-tooltip copy-email-address" data-tippy-content="{{t 'Copy email address' }}" data-clipboard-text="{{email_address}}">
<i class="zulip-icon zulip-icon-copy"></i>
</span>
</div>
</div>