From fa17fb0da18eeb020b4ee0edda067ac8b8bf8d48 Mon Sep 17 00:00:00 2001 From: Waseem Daher Date: Mon, 16 Dec 2013 10:25:26 -0500 Subject: [PATCH] Place "autoscroll" option in a "Zulip Labs" section. (imported from commit 31e8d0b5c1454932398cf732c0c4ad0702e5274b) --- static/js/ui.js | 2 +- static/styles/zulip.css | 2 +- templates/zerver/settings.html | 67 +++++++++++++++++----------------- 3 files changed, 36 insertions(+), 35 deletions(-) diff --git a/static/js/ui.js b/static/js/ui.js index 02d793972f..6da0b7917c 100644 --- a/static/js/ui.js +++ b/static/js/ui.js @@ -1145,7 +1145,7 @@ $(function () { dataType: 'json', success: function (resp, statusText, xhr, form) { - var message = "Updated UI settings!"; + var message = "Updated Zulip Labs settings!"; var result = $.parseJSON(xhr.responseText); if (result.autoscroll_forever !== undefined) { diff --git a/static/styles/zulip.css b/static/styles/zulip.css index 1cd6002298..5ff0d421eb 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -2818,7 +2818,7 @@ li.expanded_subject { #word-alert-settings { margin-top: 15px; - margin-bottom: 30px; + margin-bottom: 15px; } .remove-alert-word, diff --git a/templates/zerver/settings.html b/templates/zerver/settings.html index 29f92097bf..a55577208b 100644 --- a/templates/zerver/settings.html +++ b/templates/zerver/settings.html @@ -174,37 +174,6 @@ - {% if show_autoscroll_forever_option %} -
{% csrf_token %} - -
-
User Interface
-
-
-
-
- -
- -
-
-
- -
-
-
- -
- -
- {% endif %} -
@@ -294,11 +263,43 @@
- -
Custom Word Alerts
+ {% if show_autoscroll_forever_option %} +
{% csrf_token %} + +
+
Zulip Labs
+
+
+

+ Zulip Labs is where you can try out some experimental new + features we're working on. Let us know what you think! +

+
+
+ +
+ +
+
+
+ +
+
+
+ +
+ +
+ {% endif %}