<?php
/**
 * @package     Joomla.Site
 * @subpackage  Layout
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Language\Text;

?>
<dd class="hits tck-article-detail-hits">
	<?php if (TCK_ARTICLE_DETAILS_SHOW_ICONS) : ?>
		<span class="<?php echo TCK_ARTICLE_DETAILS_ICON_HITS ?>" aria-hidden="true"></span>
	<?php endif; ?>
	<meta itemprop="interactionCount" content="UserPageVisits:<?php echo $displayData['item']->hits; ?>">
	<?php if (TCK_ARTICLE_DETAILS_SHOW_LABELS) : ?>
	<?php echo Text::sprintf('COM_CONTENT_ARTICLE_HITS', $displayData['item']->hits); ?>
	<?php else : ?>
	<?php echo $displayData['item']->hits; ?>
	<?php endif; ?>
</dd>
