From b1a1f01fb3db937b00255d87eccd66b3becb3df1 Mon Sep 17 00:00:00 2001 From: Andy Panayiotou Date: Sun, 10 May 2020 11:42:47 +0100 Subject: [PATCH] Add qualifiers to Expressions tab of License record for user with "view only" privilege --- licensing/ajax_htmldata.php | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/licensing/ajax_htmldata.php b/licensing/ajax_htmldata.php index ffc04eb95..f166c65f3 100644 --- a/licensing/ajax_htmldata.php +++ b/licensing/ajax_htmldata.php @@ -1082,8 +1082,8 @@ + canEdit()){ ?> -   @@ -1135,20 +1135,18 @@ " . nl2br($expressionIns['documentText']) . ""; + echo ""; - if ($user->canEdit()){ - echo ""; - - if (count($qualifierArray) > 0){ - echo implode("
", $qualifierArray); - }else{ - echo " "; - } - + if (count($qualifierArray) > 0){ + echo implode("
", $qualifierArray); + } - echo ""; + echo ""; + + if ($user->canEdit()){ echo "  "; } + echo ""; if ($user->canEdit()){ @@ -1180,7 +1178,7 @@ if ($user->canEdit()){ echo " "; }else{ - echo " "; + echo " "; }