zulip/static/templates/settings/settings_save_discard_widge...

25 lines
1.1 KiB
Handlebars

{{#unless show_only_indicator}}
<div class="save-button-controls hide">
<div class="inline-block organization-submission subsection-changes-save">
<button class="save-discard-widget-button button primary save-button" id="org-submit-{{section_name}}" data-status="save">
<span class="fa fa-spinner fa-spin save-discard-widget-button-loading"></span>
<span class="fa fa-check save-discard-widget-button-icon"></span>
<span class="save-discard-widget-button-text">
{{t 'Save changes' }}
</span>
</button>
</div>
<div class="inline-block subsection-changes-discard">
<button class="save-discard-widget-button button discard-button" id="org-discard-{{section_name}}">
<span class="fa fa-times save-discard-widget-button-icon"></span>
<span class="save-discard-widget-button-text">
{{t 'Discard' }}
</span>
</button>
</div>
<div class="inline-block subsection-failed-status"><p class="hide"></p></div>
</div>
{{else}}
<div class="alert-notification {{section_name}}-status"></div>
{{/unless}}