Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings: Show channel card popover in default channels list.

Alya Abbottd29978b11cd1
diff --git a/web/styles/settings.css b/web/styles/settings.css
index f5566aaf282..d5a05920475 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -1096,6 +1096,12 @@ input[type="checkbox"] {
max-height: calc(95vh - 280px);
}
+#admin-default-channels-list .pill {
+ &:hover {
+ background-color: var(--color-background-input-pill-hover);
+ }
+}
+
.edit_bot_form {
font-size: 100%;
padding: 0;
diff --git a/web/templates/settings/admin_default_streams_list.hbs b/web/templates/settings/admin_default_streams_list.hbs
index b1af0c2c779..3882276b32d 100644
--- a/web/templates/settings/admin_default_streams_list.hbs
+++ b/web/templates/settings/admin_default_streams_list.hbs
@@ -1,8 +1,15 @@
{{#with stream}}
<tr class="default_stream_row hidden-remove-button-row" data-stream-id="{{stream_id}}">
<td>
- {{#if invite_only}}<i class="fa fa-lock" aria-hidden="true"></i>{{/if}}
- <span class="default_stream_name">{{name}}</span>
+ <span class="pill-container display_only_pill">
+ <span class="pill" data-stream-id="{{stream_id}}" tabindex="0">
+ <span class="pill-label">
+ <span class="pill-value">
+ {{> ../decorated_channel_name stream=this}}
+ </span>
+ </span>
+ </span>
+ </span>
</td>
{{#if ../can_modify}}
<td class="actions">