From deb89a9c9eaee6244c032e2dca85abfc344555e3 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 13 Jun 2013 11:41:45 -0400 Subject: [PATCH] Fix display of invite-only streams in new design. (imported from commit 9960acc7a5c9415c137a36b2e0ac8296346e922b) --- zephyr/static/styles/zephyr.css | 15 ++++++++++++--- .../templates/stream_sidebar_row.handlebars | 14 ++++++++------ zephyr/static/templates/subscription.handlebars | 2 ++ 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/zephyr/static/styles/zephyr.css b/zephyr/static/styles/zephyr.css index 3f5c0eb6af..eb8edf5af0 100644 --- a/zephyr/static/styles/zephyr.css +++ b/zephyr/static/styles/zephyr.css @@ -1174,7 +1174,7 @@ table.floating_recipient { vertical-align: middle; } -.subscription_name { +#subscriptions_table .subscription_block { padding-left: 0.5em; vertical-align: middle; display: inline-block; @@ -1182,8 +1182,8 @@ table.floating_recipient { height: 16px; } -#stream_filters .subscription_name { - padding: 0px; +#stream_filters .subscription_block { + padding-bottom: 4px; display: inline-block; line-height: 12px; width: 100%; @@ -1193,6 +1193,15 @@ table.floating_recipient { text-overflow: ellipsis; } +#stream_filters .subscription_block .icon-lock { + display: inline-block; + vertical-align: middle; + margin-top: 0px; + margin-left: 3px; + position: absolute; + top: 2px; +} + .subscription_settings { margin-left: 35px; margin-right: 35px; diff --git a/zephyr/static/templates/stream_sidebar_row.handlebars b/zephyr/static/templates/stream_sidebar_row.handlebars index da19b59b15..f36fba47f4 100644 --- a/zephyr/static/templates/stream_sidebar_row.handlebars +++ b/zephyr/static/templates/stream_sidebar_row.handlebars @@ -10,12 +10,14 @@   - {{name}}() - + + {{name}} + () + + {{#if invite_only}} + + {{/if}} + - {{#if invite_only}} - - {{/if}} - diff --git a/zephyr/static/templates/subscription.handlebars b/zephyr/static/templates/subscription.handlebars index 90228431ee..a2d1fa95d1 100644 --- a/zephyr/static/templates/subscription.handlebars +++ b/zephyr/static/templates/subscription.handlebars @@ -5,8 +5,10 @@
+ {{name}} {{#if invite_only}}{{/if}} +