~daker/loco-team-portal/fix.dj-1.4

« back to all changes in this revision

Viewing changes to loco_directory/common/templates/feeds/globalevents_description.html

  • Committer: Adnane Belmadiaf
  • Date: 2013-06-05 22:21:15 UTC
  • Revision ID: daker@ubuntu.com-20130605222115-7yhyb0dongpic8zf
Fixed LTP to work with dj 1.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% load i18n %}
 
2
{% trans "When:" %} {% spaceless %}
 
3
{% ifequal obj.date_begin|date obj.date_end|date %}
 
4
        {{ obj.date_begin|date:"D, d N Y H:i" }} - {{ obj.date_end|date:"H:i O" }}
 
5
{% else %}
 
6
        {{ obj.date_begin|date:"D, d N Y H:i" }} - {{ obj.date_end|date:"D, d N Y H:i O" }}
 
7
{% endifequal %}
 
8
{% endspaceless %}
 
9
{% if obj.description %} | {% trans "Description:" %} {{ obj.description }}{% endif %}