minor changes to event template

This commit is contained in:
Sanjay B 2015-08-02 13:24:20 +05:30
parent 1fd4bd33ce
commit ff788fcc94

View File

@ -32,15 +32,17 @@ $(function() {
<h3>{{ title }}</h3> <h3>{{ title }}</h3>
<div><i> {{ oneliner }}</i></div> <div><i> {{ oneliner }}</i></div>
<br/> <br/>
{% if event_type %}
<div>Type of Event: {{ event_type|capfirst }}</div> <br/> <div>Type of Event: {{ event_type|capfirst }}</div> <br/>
{% endif %}
<div> {{ description }} </div> <div> {{ description }} </div>
<br /> <br />
<div> {{ start_date|date:"jS M, Y" }}{% if end_date %} - {{ end_date|date:"jS M, Y" }} {% endif %}</div> <div> When: {{ start_date|date:"jS M, Y" }}{% if end_date %} - {{ end_date|date:"jS M, Y" }} {% endif %}</div>
{% if start_time %} {% if start_time %}
<div> {{ start_time|time:"P" }}{% if end_time %} - {{ end_time|time:"P" }} {% endif %}</div> <div> {{ start_time|time:"P" }}{% if end_time %} - {{ end_time|time:"P" }} {% endif %}</div>
{% endif %} {% endif %}
<br/> <br/>
<div> {{ address }} </div> <div> Where: {{ address }} </div>
<br/> <br/>
<div> {{ city }}</div> <div> {{ city }}</div>
<br/> <br/>