mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
action_button: Rename type to attention to describe the attention level of the action button.
Currently, we are using type to describe the attention level of the action button. We want to rename the type parameter to attention as we need the type parameter separately for describing the type of button.
This commit is contained in:
committed by
Tim Abbott
parent
c688c2742e
commit
325f077d3f
@@ -1,4 +1,4 @@
|
||||
<button type="button" {{#if id}}id="{{id}}"{{/if}} class="{{#if custom_classes}}{{custom_classes}} {{/if}}action-button action-button-{{type}}-{{intent}} {{#if hidden}}hide{{/if}}" {{#if data-tooltip-template-id}}data-tooltip-template-id="{{data-tooltip-template-id}}"{{/if}} tabindex="0" {{#if aria-label}}aria-label="{{aria-label}}"{{/if}}
|
||||
<button type="button" {{#if id}}id="{{id}}"{{/if}} class="{{#if custom_classes}}{{custom_classes}} {{/if}}action-button action-button-{{attention}}-{{intent}} {{#if hidden}}hide{{/if}}" {{#if data-tooltip-template-id}}data-tooltip-template-id="{{data-tooltip-template-id}}"{{/if}} tabindex="0" {{#if aria-label}}aria-label="{{aria-label}}"{{/if}}
|
||||
{{#if disabled}}disabled{{/if}}
|
||||
>
|
||||
{{#if icon}}
|
||||
|
||||
Reference in New Issue
Block a user