From 324a6e898d965fe813a70a9908d308b7d98d8868 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 19 Feb 2019 08:45:39 +0100 Subject: [PATCH] node/impact: Show message if no impact is detected fixes #160 --- application/controllers/NodeController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/controllers/NodeController.php b/application/controllers/NodeController.php index 6445db0..1d8fe0a 100644 --- a/application/controllers/NodeController.php +++ b/application/controllers/NodeController.php @@ -57,5 +57,9 @@ class NodeController extends Controller $content->add($bc); } } + + if ($content->isEmpty()) { + $content->add($this->translate('No impact detected. Is this node part of a business process?')); + } } }