From 281f01fbc92e237a1d64b9c327d922edf4bf0712 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 25 Nov 2020 15:47:15 -0500 Subject: cleaned up related posts to account for locationless dateless related things --- app/posts/templates/posts/jrnl_detail.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/posts') diff --git a/app/posts/templates/posts/jrnl_detail.html b/app/posts/templates/posts/jrnl_detail.html index 0904178..dee18b5 100644 --- a/app/posts/templates/posts/jrnl_detail.html +++ b/app/posts/templates/posts/jrnl_detail.html @@ -134,11 +134,11 @@ class="detail {%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%i

{% if object.title %}{{object.title|safe|smartypants|widont}}{% else %}{{object.common_name}}{%endif%}

- + {% if object.location %} {% if object.location.country_name == "United States" %}{{object.location.state_name}}{%else%}{{object.location.country_name}}{%endif%} - - – - + {%endif%} + {% if object.location and object.model_name != 'page' %}–{%endif%} + {% if object.model_name != 'page' %}{%endif%}

-- cgit v1.2.3