From b15c47117e96a599ac6eeee3de0d64dcd6a9fce4 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 28 Aug 2020 13:11:05 +0200 Subject: [PATCH] out message if no groups/users are available --- views/bootstrap/class.Bootstrap.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 2cb993576..1c32912b2 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -1553,6 +1553,8 @@ $(document).ready(function() { $content .= ">".htmlspecialchars($curuser->getLogin()." - ".$curuser->getFullName()).""; } $content .= ""; + } else { + $content .= getMLText('no_users'); } break; case SeedDMS_Core_AttributeDefinition::type_group: @@ -1571,6 +1573,8 @@ $(document).ready(function() { $content .= ">".htmlspecialchars($curgroup->getName()).""; } $content .= ""; + } else { + $content .= getMLText('no_groups'); } break; default: