Add conditional rendering for reason in 404 error template
This commit is contained in:
+3
-1
@@ -3,7 +3,9 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="">
|
<div class="">
|
||||||
<h2>404 error</h2>
|
<h2>404 error</h2>
|
||||||
{{ reason }}
|
{% if reason %}
|
||||||
|
{{ reason }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if resolved %}
|
{% if resolved %}
|
||||||
<h3>{{ resolved }}</h3>
|
<h3>{{ resolved }}</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user