-{% extends "user.html" %}
+{% extends "../base.html" %}
-{% block title %}{{ _("IPFire Planet") }} - {{ entry.title }}{% end block %}
+{% block title %}{{ entry.title }}{% end block %}
-{% block bodyA %}
- <div class="page-header">
- <h1>
- <a href="/post/{{ entry.slug }}">{{ entry.title }}</a>
- </h1>
- </div>
+{% block container %}
+ {% module PlanetEntry(entry) %}
- {% if entry.is_draft() %}
- <div class="alert alert-warning alert-dismissable">
- <button type="button" class="close" data-dismiss="alert">×</button>
- <strong>{{ _("Heads up!") }}</strong> {{ _("This post is a draft and has not been published, yet.") }}
- </div>
- {% end %}
+ <hr class="clear">
- {% raw entry.text %}
+ <p class="text-muted ac">
+ {{ _("Posted:") }} {{ locale.format_date(entry.published, shorter=True, relative=False) }}
- <p class="clear pull-right">
- {{ _("Posted by") }} <a href="/user/{{ entry.author.uid }}">{{ entry.author.name }}</a>
- {{ _("on") }} {{ locale.format_date(entry.published, shorter=True) }}
+ •
+
+ {{ _("One view", "%(views)s views", entry.views) % { "views" : entry.views } }}
</p>
{% end block %}