Add UserProfile flag to control whether we have a left side userlist.

Previously this was hardcoded for a single customer.

(imported from commit a6b7095050aa10cef976541505d9b09a35453f48)
This commit is contained in:
David Roe
2015-08-20 14:59:44 -07:00
committed by Tim Abbott
parent a59e41b5ee
commit 3ac95ddc1a
12 changed files with 103 additions and 10 deletions

View File

@@ -188,7 +188,7 @@ exports.resize_page_components = function () {
var h;
var sidebar;
if (feature_flags.left_side_userlist) {
if (page_params.left_side_userlist) {
var css_narrow_mode = viewport.is_narrow();
$("#top_navbar").removeClass("rightside-userlist");