]> git.ipfire.org Git - ipfire.org.git/blame - templates/planet/posting.html
planet: Slight face-lift and add hottest posts
[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
d88b8f41 5{% block body %}
60024cc8 6 <div class="page-header">
55b162d6 7 <h1>
60024cc8 8 <a href="/post/{{ entry.slug }}">{{ entry.title }}</a>
d88b8f41
MT
9
10 <br>
11
12 <small>
13 {{ _("by") }} <a href="/user/{{ entry.author.uid }}">{{ entry.author.name }}</a>,
14 {{ locale.format_date(entry.published, shorter=True) }}
15 </small>
55b162d6 16 </h1>
60024cc8
MT
17 </div>
18
b3202856
MT
19 {% if entry.is_draft() %}
20 <div class="alert alert-warning alert-dismissable">
21 <button type="button" class="close" data-dismiss="alert">&times;</button>
22 <strong>{{ _("Heads up!") }}</strong> {{ _("This post is a draft and has not been published, yet.") }}
60024cc8 23 </div>
b3202856 24 {% end %}
60024cc8 25
d88b8f41 26 {% module PlanetAuthorBox(entry.author) %}
b3202856 27
d88b8f41 28 {% raw entry.text %}
d0d074e0 29{% end block %}