mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Notes: Change strings to localized
I also corrected the tabs because it looked ridiculous
This commit is contained in:
parent
9c5bc4936b
commit
a08640780c
1 changed files with 39 additions and 39 deletions
|
@ -18,58 +18,58 @@
|
||||||
max-width: 245pt;
|
max-width: 245pt;
|
||||||
max-height: 200pt;
|
max-height: 200pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
#userContent blockquote {
|
#userContent blockquote {
|
||||||
background-color: #f3f3f3;
|
background-color: #f3f3f3;
|
||||||
border-bottom: 5px solid #969696;
|
border-bottom: 5px solid #969696;
|
||||||
padding: 1;
|
padding: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#userContent cite {
|
#userContent cite {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
#userContent cite::before {
|
#userContent cite::before {
|
||||||
content: "— ";
|
content: "— ";
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<article id="userContent" style="margin: 10px 10px 0;">
|
<article id="userContent" style="margin: 10px 10px 0;">
|
||||||
<div class="note_header">
|
<div class="note_header">
|
||||||
<div class="note_title">
|
<div class="note_title">
|
||||||
<div class="note_title">
|
<div class="note_title">
|
||||||
<a>{$note->getName()}</a>
|
<a>{$note->getName()}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="byline">
|
<div class="byline">
|
||||||
<span><a href="{$author->getURL()}">{$author->getCanonicalName()}</a></span> {$note->getPublicationTime()}
|
<span><a href="{$author->getURL()}">{$author->getCanonicalName()}</a></span> {$note->getPublicationTime()}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div style="margin-left: 6px; width: 535px;">
|
|
||||||
{$note->getText()|noescape}
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<div class="note_footer" style="margin: 10px 10px 0;">
|
|
||||||
<div class="comments_count">
|
|
||||||
{if sizeof($comments) > 0}
|
|
||||||
Комментарии ({$note->getCommentsCount()})
|
|
||||||
{else}
|
|
||||||
Нет комментариев
|
|
||||||
{/if}
|
|
||||||
<span n:if="isset($thisUser) && $thisUser->getId() === $note->getOwner()->getId()"> |
|
|
||||||
<a id="_noteDelete" href="/note{$note->getOwner()->getId()}_{$note->getId()}/delete">удалить</a>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div style="margin: 6px 10px 10px;border-top: 1px solid #ddd;">
|
|
||||||
{include "../components/comments.xml",
|
|
||||||
comments => $comments,
|
|
||||||
count => $cCount,
|
|
||||||
page => $cPage,
|
|
||||||
model => "notes",
|
|
||||||
parent => $note,
|
|
||||||
showTitle => false}
|
|
||||||
</div>
|
</div>
|
||||||
|
<div style="margin-left: 6px; width: 535px;">
|
||||||
|
{$note->getText()|noescape}
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
<div class="note_footer" style="margin: 10px 10px 0;">
|
||||||
|
<div class="comments_count">
|
||||||
|
{if sizeof($comments) > 0}
|
||||||
|
{_comments} ({$note->getCommentsCount()})
|
||||||
|
{else}
|
||||||
|
{_no_comments}
|
||||||
|
{/if}
|
||||||
|
<span n:if="isset($thisUser) && $thisUser->getId() === $note->getOwner()->getId()"> |
|
||||||
|
<a id="_noteDelete" href="/note{$note->getOwner()->getId()}_{$note->getId()}/delete">{_delete}</a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="margin: 6px 10px 10px;border-top: 1px solid #ddd;">
|
||||||
|
{include "../components/comments.xml",
|
||||||
|
comments => $comments,
|
||||||
|
count => $cCount,
|
||||||
|
page => $cPage,
|
||||||
|
model => "notes",
|
||||||
|
parent => $note,
|
||||||
|
showTitle => false}
|
||||||
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
Loading…
Reference in a new issue