]> git.ipfire.org Git - ipfire.org.git/blame - templates/planet/posting.html
planet: Enhance post composition/editing pages.
[ipfire.org.git] / templates / planet / posting.html
CommitLineData
55b162d6 1{% extends "user.html" %}
d0d074e0
MT
2
3{% block title %}{{ _("IPFire Planet") }} - {{ entry.title }}{% end block %}
4
60024cc8
MT
5{% block bodyA %}
6 <div class="page-header">
55b162d6 7 <h1>
60024cc8 8 <a href="/post/{{ entry.slug }}">{{ entry.title }}</a>
55b162d6 9 </h1>
60024cc8
MT
10 </div>
11
12 <div class="row">
13 <div class="span9">
67ab72b8
MT
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
02f2d7fe 21 {% raw entry.text %}
60024cc8
MT
22 </div>
23
24 <p class="pull-right" style="clear: both;">
8876f3df
MT
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 %}
60024cc8
MT
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>
d0d074e0 35{% end block %}