]> git.ipfire.org Git - ipfire.org.git/blob - templates/planet/posting.html
planet: Enhance post composition/editing pages.
[ipfire.org.git] / templates / planet / posting.html
1 {% extends "user.html" %}
2
3 {% block title %}{{ _("IPFire Planet") }} - {{ entry.title }}{% end block %}
4
5 {% block bodyA %}
6 <div class="page-header">
7 <h1>
8 <a href="/post/{{ entry.slug }}">{{ entry.title }}</a>
9 </h1>
10 </div>
11
12 <div class="row">
13 <div class="span9">
14 {% if entry.is_draft() %}
15 <div class="alert">
16 <button type="button" class="close" data-dismiss="alert">&times;</button>
17 <strong>{{ _("Heads up!") }}</strong> {{ _("This post is a draft and has not been published, yet.") }}
18 </div>
19 {% end %}
20
21 {% raw entry.text %}
22 </div>
23
24 <p class="pull-right" style="clear: both;">
25 {% if entry.tags %}
26 {{ _("Tags") }}:
27 {% for tag in entry.tags %}
28 <a href="/search?q={{ tag }}">{{ tag }}</a>
29 {% end %} &bull;
30 {% end %}
31 {{ _("Posted by") }} <a href="/user/{{ entry.author.uid }}">{{ entry.author.cn }}</a>
32 {{ _("on") }} {{ locale.format_date(entry.published, shorter=True) }}
33 </p>
34 </div>
35 {% end block %}