getData('news');
/** @var bool $editable */
$editable = $this->getData('editable');
/** @var \Modules\Tag\Models\Tag[] $tags */
$tags = $news->getTags();
$profile = UriFactory::build('profile/single?{?}&id=' . $news->createdBy->getId());
/** @var \phpOMS\Views\View $this */
echo $this->getData('nav')->render(); ?>
comments;
if (!empty($commentList) && $commentList->status !== CommentListStatus::INACTIVE) :
/* @todo: check if user has permission to create a comment here, maybe he is only allowed to read comments */
echo $this->getData('commentCreate')->render(1);
echo $this->getData('commentList')->render($commentList);
endif; ?>