From a38c0c3012af0259a3a0036f17a821b693d12886 Mon Sep 17 00:00:00 2001 From: mattab Date: Mon, 30 Nov 2015 16:00:02 +1300 Subject: Fixes #6766 Let Super User view and edit segments created by other users As a Super User: * I can now see all segments that were created for this website by any other user * When a segment was created by another user who is not Super User, the segment appears below a new section "Visible to you because you have Super User access:" * Such segments are editable by the Super User * The only difference when editing someone else's segment, as a Super User, is that "This segment is visible to [ME]" now says "This segment is visible to [SEGMENT_AUTHOR_USERNAME]" * One can now search in the search bar for a username and see all segments created by this user For all users: * New section "Shared with you:" now lists segments created by a Super User, and marked as "Visible to [All Users]" * Before segments shared with me, looked the same as segments I created, which was confusing --- plugins/Dashboard/stylesheets/dashboard.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Dashboard') diff --git a/plugins/Dashboard/stylesheets/dashboard.less b/plugins/Dashboard/stylesheets/dashboard.less index b45398379c..26120e1abb 100644 --- a/plugins/Dashboard/stylesheets/dashboard.less +++ b/plugins/Dashboard/stylesheets/dashboard.less @@ -257,7 +257,7 @@ ul.widgetpreview-widgetlist, ul.widgetpreview-categorylist { - color: #5d5342; + color: @theme-color-text-light; list-style: none; font-size: 11px; line-height: 20px; @@ -318,7 +318,7 @@ div.widgetpreview-preview { font-weight: normal; padding-top: 10px; margin-left: 10px; - color: #5D5342; + color: @theme-color-text-light; list-style: none; font-size: 11px; line-height: 20px; -- cgit v1.2.3