From 70b869fb24fa65cf8b1cd06fbfd1b53723df9f52 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 28 Jul 2017 09:35:59 +0200 Subject: [PATCH] show number of notifications, workflows and keyword categories --- views/bootstrap/class.UsrMgr.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/views/bootstrap/class.UsrMgr.php b/views/bootstrap/class.UsrMgr.php index 617425d97..ebf2a387f 100644 --- a/views/bootstrap/class.UsrMgr.php +++ b/views/bootstrap/class.UsrMgr.php @@ -101,6 +101,15 @@ $(document).ready( function() { echo "".getMLText('documents')."".count($documents)."\n"; $documents = $seluser->getDocumentsLocked(); echo "".getMLText('documents_locked')."".count($documents)."\n"; + $categories = $seluser->getKeywordCategories(); + echo "".getMLText('personal_default_keywords')."".count($categories)."\n"; + $dnot = $seluser->getNotifications(T_DOCUMENT); + echo "".getMLText('documents_with_notification')."".count($dnot)."\n"; + $fnot = $seluser->getNotifications(T_FOLDER); + echo "".getMLText('folders_with_notification')."".count($fnot)."\n"; + $workflows = $seluser->getWorkflowsInvolved(); + echo "".getMLText('workflows_involded')."".count($workflows)."\n"; + if($workflowmode == "traditional") { $reviewStatus = $seluser->getReviewStatus(); if($reviewStatus['indstatus']) {