From 6018338b87ca69b29243b018254c7d9980acc97a Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 15 Jun 2017 19:19:41 +0100 Subject: [PATCH] added identity tag for claim box --- src/Template/Main/index.ctp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Template/Main/index.ctp b/src/Template/Main/index.ctp index f4960ed..d2aa613 100644 --- a/src/Template/Main/index.ctp +++ b/src/Template/Main/index.ctp @@ -174,6 +174,10 @@ $ctTag = 'image'; } + if (!$ctTag && $claim->ClaimType == 1) { + $ctTag = 'identity'; + } + if ($claim->ClaimType == 1) { $autoThumbText = strtoupper(substr($claim->Name, 1, min( strlen($claim->Name), 3 ))); } else { $str = (strlen(trim($claim->Title)) > 0) ? $claim->Title : $claim->Name; $autoThumbText = strtoupper(substr($str, 0, min (strlen($str), 2 )));