Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

better template for event details

  • Loading branch information...
commit 45f4d153e282543b14827f60c1a9be9a2d7af1e7 1 parent 211c960
@martinfilliau martinfilliau authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 molly/apps/feeds/templates/feeds/events/item_detail.html
View
6 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 @@
{{ 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>
Please sign in to comment.
Something went wrong with that request. Please try again.