From 50a852c09f35fa3ce655b7979c179617a323eb63 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 25 Nov 2020 15:51:19 -0500 Subject: fixed a template bug --- app/posts/templates/posts/jrnl_detail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/posts/templates/posts/jrnl_detail.html b/app/posts/templates/posts/jrnl_detail.html index dee18b5..8a75f25 100644 --- a/app/posts/templates/posts/jrnl_detail.html +++ b/app/posts/templates/posts/jrnl_detail.html @@ -137,8 +137,8 @@ class="detail {%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%i {% 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%} + {% if object.location and object.model_name.model != 'page' %}–{%endif%} + {% if object.model_name.model != 'page' %}{%endif%}

-- cgit v1.2.3-70-g09d2