]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - templates/planet/posting.html
planet: Update posting header
[people/shoehn/ipfire.org.git] / templates / planet / posting.html
CommitLineData
d88b8f41 1{% extends "../base.html" %}
d0d074e0 2
d88b8f41 3{% block title %}{{ entry.title }}{% end block %}
d0d074e0 4
c6ba6949
MT
5{% block header %}
6 <header class="jumbotron subhead" id="overview">
7 <div class="container">
8 <h1>
9 <i class="fa fa-comment"></i>
10 <a href="/post/{{ entry.slug }}">{{ entry.title }}</a>
11 </h1>
d88b8f41 12
c6ba6949
MT
13 <p class="lead">
14 {{ _("by") }} <a href="/user/{{ entry.author.uid }}">{{ entry.author.name }}</a>
15 &bull; {{ locale.format_date(entry.published, shorter=True) }}
16 </p>
17 </div>
18 </header>
19{% end header %}
60024cc8 20
c6ba6949 21{% block body %}
b3202856
MT
22 {% if entry.is_draft() %}
23 <div class="alert alert-warning alert-dismissable">
24 <button type="button" class="close" data-dismiss="alert">&times;</button>
25 <strong>{{ _("Heads up!") }}</strong> {{ _("This post is a draft and has not been published, yet.") }}
60024cc8 26 </div>
b3202856 27 {% end %}
60024cc8 28
d88b8f41 29 {% module PlanetAuthorBox(entry.author) %}
b3202856 30
d88b8f41 31 {% raw entry.text %}
c6ba6949
MT
32
33 <hr class="clear">
34
35 <p class="text-muted ac">
36 {{ _("Posted:") }} {{ locale.format_date(entry.published, shorter=True, relative=False) }}
37
38 &bull;
39
40 {{ _("One view", "%(views)s views", entry.views) % { "views" : entry.views } }}
41 </p>
d0d074e0 42{% end block %}