chg: [view:ajaxTags] Added placeholder for highlighted taxonomies without a tag

pull/8777/merge
Sami Mokaddem 2023-02-13 10:53:57 +01:00
parent 8a4ec0dc5e
commit c92667ce1f
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,9 @@
'tag_display_style' => 2
]);
}
if (empty($hTags)) {
$hTags = sprintf('<span class="grey">-%s-</span>', __('none'));
}
$highlightedTagsString .= sprintf(
'<tr><td style="font-weight: bold;text-transform: uppercase;">%s</td></td><td>%s</td><td>%s</td></tr>',