Skip to content

Commit

Permalink
Provide default value data type class. #2248
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Dec 12, 2024
1 parent 2a7334e commit d04f50c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions application/view/common/resource-values.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ foreach ($values as $term => $propertyData):
$class[] = $escape($value->valueResource()->resourceName());
} elseif ('uri' == $valueType) {
$class[] = 'uri';
} else {
$class[] = $escape(str_replace(['_', ':'], '-', $valueType));
}
?>
<dd class="<?php echo implode(' ', $class); ?>" lang="<?php echo $escape($valueLang); ?>">
Expand Down

0 comments on commit d04f50c

Please sign in to comment.