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>
<div><i> {{ oneliner }}</i></div>
<br/>
{% if event_type %}
<div>Type of Event: {{ event_type|capfirst }}</div> <br/>
{% endif %}
<div> {{ description }} </div>
<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 %}
<div> {{ start_time|time:"P" }}{% if end_time %} - {{ end_time|time:"P" }} {% endif %}</div>
{% endif %}
<br/>
<div> {{ address }} </div>
<div> Where: {{ address }} </div>
<br/>
<div> {{ city }}</div>
<br/>