mirror of https://github.com/zulip/zulip.git
settings: Add option to show only indicator in save-discard widget.
This commit adds an option to show only indicator and not save/discard buttons using the settings_save_discard_widget. This is a prep commit for using save/discard buttons in the realm-level defaults section while keeping the original behavior of showing only indicator in the user-level settings.
This commit is contained in:
parent
3be2273316
commit
fa991b21a5
|
@ -1,3 +1,4 @@
|
|||
{{#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">
|
||||
|
@ -18,3 +19,6 @@
|
|||
</div>
|
||||
<div class="inline-block subsection-failed-status"><p class="hide"></p></div>
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="alert-notification {{section_name}}-status"></div>
|
||||
{{/unless}}
|
||||
|
|
Loading…
Reference in New Issue