From 990b7934f2d69b17f53460f72d734bb080a04a19 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 22 Feb 2016 14:39:47 +0100 Subject: [PATCH] css/module: render disabled object preview as such --- application/views/scripts/object/show.phtml | 5 ++++- public/css/module.less | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/application/views/scripts/object/show.phtml b/application/views/scripts/object/show.phtml index f95ca7cf..6611dd8b 100644 --- a/application/views/scripts/object/show.phtml +++ b/application/views/scripts/object/show.phtml @@ -4,7 +4,10 @@
-
escape($object) ?>extraObjects): ?>
+disabled === 'y'): ?>
+

translate('This object will not be deployed as it has been disabled') ?>

+ +disabled === 'y'): ?> class="disabled">escape($object) ?>extraObjects): ?> extraObjects) ?>
diff --git a/public/css/module.less b/public/css/module.less index e2418b6b..b01d98a9 100644 --- a/public/css/module.less +++ b/public/css/module.less @@ -17,6 +17,10 @@ span.disabled { color: @gray-light; } +pre.disabled { + color: @gray-light; +} + pre { background: none; }