Fixed challenges not having an description

This commit is contained in:
teras
2018-01-31 18:27:35 +02:00
committed by Lauri Võsandi
parent 84fba4961f
commit b537bf9512
2 changed files with 16 additions and 3 deletions

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 %}