From 41df51a8151a5c1f35abe3c04f94e43b673e29ff Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 6 Jan 2014 17:10:53 -0800 Subject: add "self" to access control lists with special marking to indicate it's special (for instance you can't really deny access to yourself). But this lets us make something private to our eyes only; whatever it may be. --- view/js/acl.js | 4 ++-- view/theme/redbasic/css/style.css | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'view') diff --git a/view/js/acl.js b/view/js/acl.js index 906b28354..84b080de2 100644 --- a/view/js/acl.js +++ b/view/js/acl.js @@ -259,8 +259,8 @@ ACL.prototype.populate = function(data){ var height = Math.ceil(data.tot / that.nw) * 42; that.list_content.height(height); $(data.items).each(function(){ - html = "
"+that.item_tpl+"
"; - html = html.format( this.photo, this.name, this.type, this.xid, '', this.network, this.link, this.taggable ); + html = "
"+that.item_tpl+"
"; + html = html.format( this.photo, this.name, this.type, this.xid, '', this.self, this.link, this.taggable ); if (this.uids!=undefined) that.group_uids[this.id] = this.uids; //console.log(html); that.list_content.append(html); diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 325685607..f039b7374 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2441,3 +2441,7 @@ img.mail-list-sender-photo { margin-top: 8px; margin-right: 15px; } + +.abook-self { + background-color: #ffdddd; +} \ No newline at end of file -- cgit v1.2.3