From 2bd95487e9cf06455356e911720a37261466b355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Juli=C3=A1n?= Date: Wed, 15 Oct 2014 12:40:11 +0200 Subject: [PATCH] Warning Styles for no roles with estimation permission --- app/partials/admin-roles.jade | 2 +- app/styles/modules/admin/admin-roles.scss | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/partials/admin-roles.jade b/app/partials/admin-roles.jade index 1949cb25..900332e5 100644 --- a/app/partials/admin-roles.jade +++ b/app/partials/admin-roles.jade @@ -21,7 +21,7 @@ block content | {{ role.name }} span ({{ role.members_count }} members with this role) - div(ng-hide="anyComputableRole") Be careful, no role in your project have can affect the user story estimation points. + div.any-computable-role(ng-hide="anyComputableRole") Be careful, no role in your project will be able to estimate the point value for user stories div.general-category | When enabled, members assigned to this role will be able to estimate the point value for user stories diff --git a/app/styles/modules/admin/admin-roles.scss b/app/styles/modules/admin/admin-roles.scss index a5c6753f..1ae92901 100644 --- a/app/styles/modules/admin/admin-roles.scss +++ b/app/styles/modules/admin/admin-roles.scss @@ -11,6 +11,12 @@ padding-left: .5rem; } } + .any-computable-role { + background: $red; + color: $white; + margin-bottom: .5rem; + padding: .5rem; + } .general-category { align-items: center; display: flex;