|
@@ -40,8 +40,8 @@ if ($point && @$point->data) {
|
|
|
$fName = $head . '_' . sanitize_field_name($values[$k]);
|
|
|
if(@$contentData['common'][$fName]): ?>
|
|
|
<div>
|
|
|
- Common
|
|
|
- <i class="fa fa-arrow-right text-sm text-secondary"></i>
|
|
|
+ <!--Common
|
|
|
+ <i class="fa fa-arrow-right text-sm text-secondary"></i>-->
|
|
|
<span class="font-weight-bold"><?= $values[$k] ?></span>
|
|
|
<?php if(@$contentData['common'][$fName . '__comments']): ?>
|
|
|
<span class="text-sm ml-1 text-secondary">(<?= $contentData['common'][$fName . '__comments'] ?>)</span>
|
|
@@ -56,13 +56,13 @@ if ($point && @$point->data) {
|
|
|
// custom fields
|
|
|
|
|
|
if(isset($contentData['customFields']) && count($contentData['customFields'])):
|
|
|
- ?> <div class="mt-2"> <?php
|
|
|
+ ?> <div class=""> <?php
|
|
|
for ($i = 0; $i < count($contentData['customFields']); $i++):
|
|
|
$item = $contentData['customFields'][$i];
|
|
|
if($item['value']): ?>
|
|
|
<div>
|
|
|
- Custom
|
|
|
- <i class="fa fa-arrow-right text-sm text-secondary"></i>
|
|
|
+ <!--Custom
|
|
|
+ <i class="fa fa-arrow-right text-sm text-secondary"></i>-->
|
|
|
<span class="font-weight-bold"><?= $item['label'] ?></span>
|
|
|
<?php if($item['comments']): ?>
|
|
|
<span class="text-sm ml-1 text-secondary">(<?= $item['comments'] ?>)</span>
|
|
@@ -74,7 +74,7 @@ if ($point && @$point->data) {
|
|
|
?> </div> <?php
|
|
|
endif;
|
|
|
|
|
|
- if(isset($contentData['comments'])) { ?>
|
|
|
+ if(isset($contentData['comments']) && !empty(trim($contentData['comments']))) { ?>
|
|
|
<div class="mt-2 mb-1">
|
|
|
<div class="font-weight-bold">Comments:</div>
|
|
|
<div><?= $contentData['comments'] ?></div>
|