diff --git a/themes/finc/templates/RecordTab/description.phtml b/themes/finc/templates/RecordTab/description.phtml index cea530c697325b21aed6a748bb829977ff8419f4..98d59dfadd4b15dc09a30019bbd3990d0eaecdd4 100644 --- a/themes/finc/templates/RecordTab/description.phtml +++ b/themes/finc/templates/RecordTab/description.phtml @@ -13,7 +13,15 @@ $mainFields = $formatter->getData($driver, $formatter->getDefaults('description' <caption class="sr-only"><?=$this->transEsc('Description')?></caption> <?php if (!empty($mainFields)): ?> <?php foreach ($mainFields as $current): ?> - <tr><th><?=$this->transEsc($current['label'])?>:</th><td data-title="<?= $this->transEsc($current['label']) ?>:"><?=$current['value']?></td></tr> + <tr> + <?php if (!empty($current['label'])): ?> + <th><?=$this->transEsc($current['label'])?>:</th> + <td data-title="<?= $this->transEsc($current['label']) ?>:"> + <?php else: ?> + <td colspan="2"> + <?php endif; ?> + <?=$current['value']?></td> + </tr> <?php endforeach; ?> <?php else: ?> <tr><td><?=$this->transEsc('no_description')?></td></tr>