Projet

Général

Profil

« Précédent | Suivant » 

Révision 92f0a459

Ajouté par Serghei Mihai (congés, retour 15/05) il y a plus de 9 ans

publication time displayed only if announces is published

Voir les différences:

corbo/templates/corbo/homepage.html
10 10
    {{ object.text|safe }}
11 11
  </div>
12 12
  <div class="pub_time">
13
    {% if object.publication_time %}
13 14
    {% blocktrans with pub_date=object.publication_time|date:'DATETIME_FORMAT' %}
14 15
    Published on {{ pub_date }}
15 16
    {% endblocktrans %}
17
    {% endif %}
16 18
  </div>
17 19
  <div class="clear"></div>
18 20
</li>

Formats disponibles : Unified diff