From b32028566b0ea751ec69f3fc847393c39a7a28ac Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 26 Mar 2014 17:48:27 +0100 Subject: [PATCH] Fix layout of planet pages. --- templates/planet/index.html | 33 ++++++++++++++++-------------- templates/planet/posting.html | 38 ++++++++++++++++------------------- templates/planet/user.html | 13 ++++++++---- 3 files changed, 44 insertions(+), 40 deletions(-) diff --git a/templates/planet/index.html b/templates/planet/index.html index e321824..15cebd6 100644 --- a/templates/planet/index.html +++ b/templates/planet/index.html @@ -11,24 +11,27 @@
-
+
-
- + + - -
+ -
- - {{ _("All posts from") }} - - - +
+ + {{ _("All posts from") }} + + + +
diff --git a/templates/planet/posting.html b/templates/planet/posting.html index 4524a2a..9c622b0 100644 --- a/templates/planet/posting.html +++ b/templates/planet/posting.html @@ -9,27 +9,23 @@
-
-
- {% if entry.is_draft() %} -
- - {{ _("Heads up!") }} {{ _("This post is a draft and has not been published, yet.") }} -
- {% end %} - - {% raw entry.text %} + {% if entry.is_draft() %} +
+ + {{ _("Heads up!") }} {{ _("This post is a draft and has not been published, yet.") }}
+ {% end %} -

- {% if entry.tags %} - {{ _("Tags") }}: - {% for tag in entry.tags %} - {{ tag }} - {% end %} • - {% end %} - {{ _("Posted by") }} {{ entry.author.cn }} - {{ _("on") }} {{ locale.format_date(entry.published, shorter=True) }} -

-
+ {% raw entry.text %} + +

+ {% if entry.tags %} + {{ _("Tags") }}: + {% for tag in entry.tags %} + {{ tag }} + {% end %} • + {% end %} + {{ _("Posted by") }} {{ entry.author.cn }} + {{ _("on") }} {{ locale.format_date(entry.published, shorter=True) }} +

{% end block %} diff --git a/templates/planet/user.html b/templates/planet/user.html index 369a381..189b5a0 100644 --- a/templates/planet/user.html +++ b/templates/planet/user.html @@ -37,15 +37,20 @@ -- 2.39.2