From 49c2e54e942d5370e4155e95bc45a8ed821df649 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Sat, 30 Apr 2022 14:50:08 +0200 Subject: [PATCH] add missing status to getOverallStatusIcon() --- views/bootstrap/class.Bootstrap.php | 9 +++++++++ views/bootstrap4/class.Bootstrap4.php | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 226bbfa05..894056853 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -1415,6 +1415,15 @@ function getOverallStatusIcon($status) { /* {{{ */ case S_EXPIRED: $icon = 'fa-circle expired'; break; + case S_IN_REVISION: + $icon = 'fa-refresh'; + break; + case S_DRAFT: + $icon = 'fa-circle-o'; + break; + case S_NEEDS_CORRECTION: + $icon = 'fa-circle in-workflow'; + break; default: $icon = 'fa fa-question'; break; diff --git a/views/bootstrap4/class.Bootstrap4.php b/views/bootstrap4/class.Bootstrap4.php index e57ae0af7..99d03f539 100644 --- a/views/bootstrap4/class.Bootstrap4.php +++ b/views/bootstrap4/class.Bootstrap4.php @@ -1339,6 +1339,15 @@ function getOverallStatusIcon($status) { /* {{{ */ case S_EXPIRED: $icon = 'fa-circle expired'; break; + case S_IN_REVISION: + $icon = 'fa-refresh'; + break; + case S_DRAFT: + $icon = 'fa-circle-o'; + break; + case S_NEEDS_CORRECTION: + $icon = 'fa-circle in-workflow'; + break; default: $icon = 'fa fa-question'; break;