This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/_sakura/templates/yuuno/elements/newsPost.tpl

17 lines
851 B
Smarty
Raw Normal View History

2015-07-31 21:18:14 +00:00
{% if not page.view_post %}<a href="/news/{{ newsPost.id }}" class="news-head" id="n{{ newsPost.id }}">{{ newsPost.title }}</a>{% endif %}
2015-04-02 13:27:21 +00:00
<div class="news-body">
<a class="no-underline" href="/u/{{ newsPost.uid }}">
2015-04-02 13:27:21 +00:00
<div class="news-poster">
<img src="/a/{{ newsPost.uid }}" alt="{{ newsPost.udata.username }}" class="default-avatar-setting" />
<h1 style="color: {{ newsPost.rdata.colour }} !important; text-shadow: 0 0 7px #888; padding: 0 0 10px;">{{ newsPost.udata.username }}</h1>
2015-04-02 13:27:21 +00:00
</div>
</a>
<div class="markdown">
2015-04-02 13:30:32 +00:00
{{ newsPost.parsed|raw }}
2015-04-02 13:27:21 +00:00
</div>
</div>
<div class="clear"></div>
<div class="news-post-time">
Posted on {{ newsPost.date|date(sakura.dateFormat) }}{% if not page.view_post %} <a class="default" href="/news/{{ newsPost.id }}">View comments</a>{% endif %}
2015-04-02 13:27:21 +00:00
</div>