mirror of https://github.com/zulip/zulip.git
stream_ui_updates: Rename btn -> button in CSS classes.
This commit is a part of the efforts to rename btn-related classes and variables to align with Zulip's no-abbreviations policy and streamline the search results.
This commit is contained in:
parent
0158768a91
commit
45eefb1e53
|
@ -459,11 +459,11 @@ export function enable_or_disable_add_subscribers_elements(
|
||||||
|
|
||||||
if (enable_elem) {
|
if (enable_elem) {
|
||||||
$container_elem
|
$container_elem
|
||||||
.find(".add_all_users_to_stream_btn_container")
|
.find(".add_all_users_to_stream_button_container")
|
||||||
.removeClass("add_subscribers_disabled");
|
.removeClass("add_subscribers_disabled");
|
||||||
} else {
|
} else {
|
||||||
$container_elem
|
$container_elem
|
||||||
.find(".add_all_users_to_stream_btn_container")
|
.find(".add_all_users_to_stream_button_container")
|
||||||
.addClass("add_subscribers_disabled");
|
.addClass("add_subscribers_disabled");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
<label class="choose-subscribers-label" for="people_to_add">
|
<label class="choose-subscribers-label" for="people_to_add">
|
||||||
<h4 class="stream_setting_subsection_title">{{t "Choose subscribers" }}</h4>
|
<h4 class="stream_setting_subsection_title">{{t "Choose subscribers" }}</h4>
|
||||||
</label>
|
</label>
|
||||||
<span class="add_all_users_to_stream_btn_container">
|
<span class="add_all_users_to_stream_button_container">
|
||||||
<button class="add_all_users_to_stream small button rounded sea-green">{{t 'Add all users'}}</button>
|
<button class="add_all_users_to_stream small button rounded sea-green">{{t 'Add all users'}}</button>
|
||||||
</span>
|
</span>
|
||||||
<div id="stream_subscription_error" class="stream_creation_error"></div>
|
<div id="stream_subscription_error" class="stream_creation_error"></div>
|
||||||
|
|
Loading…
Reference in New Issue