]> git.parisson.com Git - mezzo.git/commitdiff
Remove the date on spontaneous candidacy
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Thu, 27 Oct 2016 11:27:40 +0000 (13:27 +0200)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Thu, 27 Oct 2016 11:27:40 +0000 (13:27 +0200)
app/templates/job/inc/job_offer_card.html

index 32c0577ecf0d022ecf92d1d8ffe5896562dbf229..22ae907a4e5ecdf26c09a915e44c6e17b8308047 100644 (file)
@@ -13,7 +13,9 @@
         </h2>
     </a>
     <div class="job-line-box__desc">
-        <strong>{% trans 'Published on' %} {{ jo.publish_date|date:"DATE_FORMAT" }}</strong><br />
+        {% if jo.type %}
+            <strong>{% trans 'Published on' %} {{ jo.publish_date|date:"DATE_FORMAT" }}</strong><br />
+        {% endif %}
         {% editable jo.description %}
             {{ jo.description|slice:":255" }}
         {% endeditable %}