From f4c970e5a547a9016a5209a3f935f8b56bda2e75 Mon Sep 17 00:00:00 2001
From: "Alejandro E. Rendon"
Date: Wed, 1 May 2019 08:56:26 -0500
Subject: [PATCH] Added event information
---
templates/event.html | 38 ++++++++++++++++++++++++++++++++++----
1 file changed, 34 insertions(+), 4 deletions(-)
diff --git a/templates/event.html b/templates/event.html
index 21ccec6d..8760d9ab 100644
--- a/templates/event.html
+++ b/templates/event.html
@@ -33,15 +33,45 @@ {{ this.title }}
{% endif %}
+
+ {% if this.pub_date %}
+
+
+
Fecha:
+ {% if this.pub_date %}
+ {{ this.pub_date.strftime('%d %b del %Y') }}
+ {% endif %}
+
+
+
Hora:
+ {% if this.pub_date %}
+ {{ this.pub_date.strftime('%H:%M') }}
+ {% endif %}
+ {% if this.end_date %}
+ - {{ this.end_date.strftime('%H:%M') }}
+ {% endif %}
+
+
+ {% endif %}
+ {% if this.place %}
+
+
+
Lugar:
+ {% if this.place %}
+ {{ this.place }}
+ {% endif %}
+
+
+ {% endif %}
+
+
{% if this.latitude and this.longitude %}
{%- set lon_ll = this.longitude - 0.001 -%}
{%- set lon_ur = this.longitude + 0.001 -%}
{%- set lat_ll = this.latitude - 0.002 -%}
{%- set lat_ur = this.latitude + 0.002 -%}
-