From ad4841cc9403920121daa3a4633757e4343c8299 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Fri, 8 Jul 2016 11:12:59 -0400 Subject: [PATCH] fix tooltip placement on permission role list team item --- awx/ui/client/src/access/roleList.block.less | 4 ++++ awx/ui/client/src/access/roleList.partial.html | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/access/roleList.block.less b/awx/ui/client/src/access/roleList.block.less index 9b185148b0..5cacfb1814 100644 --- a/awx/ui/client/src/access/roleList.block.less +++ b/awx/ui/client/src/access/roleList.block.less @@ -53,6 +53,10 @@ cursor: pointer; } +.RoleList-tag--team { + cursor: default; +} + .RoleList-tagDelete { font-size: 13px; color: @default-bg; diff --git a/awx/ui/client/src/access/roleList.partial.html b/awx/ui/client/src/access/roleList.partial.html index 10fc725b41..d98c13d53b 100644 --- a/awx/ui/client/src/access/roleList.partial.html +++ b/awx/ui/client/src/access/roleList.partial.html @@ -7,8 +7,10 @@ class="fa fa-times RoleList-tagDelete">
+ ng-class="{'RoleList-tag--deletable': entry.explicit, + 'RoleList-tag--team': entry.team_id}" + aw-tool-tip='{{entry.team_name}}' aw-tip-placement='bottom'> {{ entry.name }} - +