mirror of
https://github.com/openvk/openvk
synced 2024-12-24 01:21:07 +03:00
28 lines
1,014 B
XML
28 lines
1,014 B
XML
{extends "../@layout.xml"}
|
|
{block title}{_view_topic} "{$topic->getTitle()}"{/block}
|
|
|
|
{block header}
|
|
<a href="{$club->getURL()}">{$club->getCanonicalName()}</a>
|
|
»
|
|
<a href="/board{$club->getId()}">{_discussions}</a>
|
|
»
|
|
{_view_topic}
|
|
|
|
<div style="float: right;" n:if="$topic->canBeModifiedBy($thisUser)">
|
|
<a href="/topic{$club->getId()}_{$topic->getVirtualId()}/edit">{_edit_topic_action}</a>
|
|
</div>
|
|
{/block}
|
|
|
|
{block content}
|
|
<div class="container_gray">
|
|
<b>{$topic->getTitle()}</b>
|
|
<br />
|
|
<a href="{$topic->getOwner()->getURL()}">{$topic->getOwner()->getCanonicalName()}</a>
|
|
<div class="nobold" style="float: right;">
|
|
{_created} {$topic->getPublicationTime()}
|
|
</div>
|
|
</div>
|
|
<div style="margin-top: 20px;">
|
|
{include "../components/comments.xml", comments => $comments, count => $count, page => $page, model => "topics", club => $club, readOnly => $topic->isClosed(), parent => $topic}
|
|
</div>
|
|
{/block}
|