Fixed challenges not having an description

This commit is contained in:
teras
2018-04-27 20:00:59 +03:00
committed by lauri
parent 84fba4961f
commit b537bf9512
2 changed files with 16 additions and 3 deletions
+5 -1
View File
@@ -8,7 +8,11 @@
<div class="col m8">
<h3 class="">{{ challenge.name }}</h3>
<p style="">{{ challenge.description | markdownify }}</p>
{% if challenge.description %}
<p style="">{{ challenge.description | markdownify }}</p>
{% else %}
<p style="">{{ challenge.blurb | markdownify }}</p>
{% endif %}
<div class="section">
{% if challenge.creator.profile.contact_info %}