tMore html improvements. - diasporadiaries - a platform for writing stories with personal accounts and messages [h|git clone git://parazyd.org/diasporadiaries.git|URL:git://parazyd.org/diasporadiaries.git|server|port] [1|Log|/git/diasporadiaries/log.gph|server|port] [1|Files|/git/diasporadiaries/files.gph|server|port] [1|Refs|/git/diasporadiaries/refs.gph|server|port] [1|Submodules|/git/diasporadiaries/file/.gitmodules.gph|server|port] [1|README|/git/diasporadiaries/file/README.md.gph|server|port] [1|LICENSE|/git/diasporadiaries/file/LICENSE.gph|server|port] --- [1|commit 01bfa5f1c998e1d80906c2b292ac9d1b6dcd48c3|/git/diasporadiaries/commit/01bfa5f1c998e1d80906c2b292ac9d1b6dcd48c3.gph|server|port] [1|parent c48ab721fb03f8babc7771b78d60b09eac8e98a6|/git/diasporadiaries/commit/c48ab721fb03f8babc7771b78d60b09eac8e98a6.gph|server|port] [h|Author: parazyd |URL:mailto:parazyd@dyne.org|server|port] Date: Mon, 21 Jan 2019 23:02:02 +0100 More html improvements. Diffstat: M templates/footer.html | 8 +++----- M templates/gallery.html | 4 +++- M templates/index.html | 1 + M templates/profile.html | 41 +------------------------------ 4 files changed, 8 insertions(+), 46 deletions(-) --- [1|diff --git a/templates/footer.html b/templates/footer.html|/git/diasporadiaries/file/templates/footer.html.gph|server|port] t@@ -1,9 +1,7 @@ - + - - [1|diff --git a/templates/gallery.html b/templates/gallery.html|/git/diasporadiaries/file/templates/gallery.html.gph|server|port] t@@ -39,7 +39,7 @@

- {% if i['email'] %} + {% if i['email'] and profiles %} by {{ i['name'] }}
{% else %} by {{ i['name'] }}
t@@ -60,6 +60,7 @@ + {% if cc %}

{% if request.endpoint == 'dashboard' %} t@@ -82,3 +83,4 @@ {% endfor %}
+ {% endif %} [1|diff --git a/templates/index.html b/templates/index.html|/git/diasporadiaries/file/templates/index.html.gph|server|port] t@@ -53,5 +53,6 @@ useful.

+ {% include 'footer.html' %} [1|diff --git a/templates/profile.html b/templates/profile.html|/git/diasporadiaries/file/templates/profile.html.gph|server|port] t@@ -9,46 +9,7 @@

Diaries by {{ name }}


-
-
- - {% for i in stories %} - {% if loop.index % 3 == 1 %} -
- {% endif %} - -
-
-

- {{ i['abstract'] }} -

- -
-
- Read -
- - {{ i['embarkname'] }}{{ i['disembarkname'] }} - - - {{ i['name'] }}
- {{ i['date'] }}
- {{ i['time'] }} -
-
-
-
- - {% if loop.index % 3 == 0 or loop.last %} -
- {% if not loop.last %} -
- {% endif %} - {% endif %} - - {% endfor %} -
-
+{% include 'gallery.html' %} {% if current_user.is_active %}