Permalink
Browse files

better template for event details

  • Loading branch information...
1 parent 211c960 commit 45f4d153e282543b14827f60c1a9be9a2d7af1e7 @martinfilliau martinfilliau committed Feb 24, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 molly/apps/feeds/templates/feeds/events/item_detail.html
@@ -20,8 +20,10 @@
<h2>{{ item.title }}</h2>
<div class="article"><div class="bubble pad-5">
+ {% if description %}
{{ description|safe }}
- <br />
+ <br /><br />
+ {% endif %}
{% if item.dt_start %}
{% trans "Starts:" %} {{item.dt_start|date:"l j M Y \a\t H:i"}}<br />
@@ -37,7 +39,9 @@ <h2>{{ item.title }}</h2>
{{ item.last_modified_local|date:"j M Y \a\t H:i" }}<br />
{% endif %}
{# Significant whitespace on line below #}
+ {% if item.link %}
{% trans "Link:" %} <a href="{{ item.link }}" title="{{ item.title }}">{{ item.link }}</a>
+ {% endif %}
</em></small>
</div></div>
</div>

0 comments on commit 45f4d15

Please sign in to comment.