Skip to content

Commit

Permalink
Remove extra block class from page date time.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Feb 22, 2024
1 parent 53abcaa commit 566f8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/view/common/block-layout/page-date-time.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $timeFormat = $block->dataValue('time_format');
$createdFormatted = $this->i18n()->dateFormat($created, $dateFormat, $timeFormat);
$modifiedFormatted = $modified ? $this->i18n()->dateFormat($modified, $dateFormat, $timeFormat) : null;
?>
<div class="page-date-time block">
<div class="page-date-time">
<?php if (in_array($block->dataValue('display'), ['created', 'created_modified'])): ?>
<div class="created">
<span class="property"><?php echo $this->translate('Created'); ?></span>
Expand Down

0 comments on commit 566f8f3

Please sign in to comment.