From 33dc579a1cd74422cb6feac20c42f640121e74db Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Fri, 8 May 2020 08:19:01 -0400 Subject: [PATCH] Hide colon when label is empty. --- themes/bootstrap3/templates/RecordDriver/EDS/core.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/bootstrap3/templates/RecordDriver/EDS/core.phtml b/themes/bootstrap3/templates/RecordDriver/EDS/core.phtml index 9d9caf9e193..9c9f26e96a7 100644 --- a/themes/bootstrap3/templates/RecordDriver/EDS/core.phtml +++ b/themes/bootstrap3/templates/RecordDriver/EDS/core.phtml @@ -61,7 +61,7 @@ <?php foreach ($items as $key => $item): ?> <?php if (!empty($item['Data'])): ?> <tr> - <th><?=$this->transEsc($item['Label'])?>:</th> + <th><?=empty($item['Label']) ? '' : $this->transEsc($item['Label']) . ':'?></th> <td><?=$this->driver->linkUrls($item['Data'])?></td> </tr> <?php endif; ?> -- GitLab