From 76a5e08e2fe5a5e4052b700efbf48f50ebc91150 2014-01-15 14:36:35 From: Rebecca Lovewell Date: 2014-01-15 14:36:35 Subject: [PATCH] Use {% load url from future %} in schedule templates Using https://github.com/futurecolors/django-future-url --- diff --git a/symposion/templates/schedule/_edit_grid.html b/symposion/templates/schedule/_edit_grid.html index ff9afe7824eb2ce836fd9cac3a08a8553ee2e300..870391b5872b1926de51764cab310ab86457be30 100644 --- a/symposion/templates/schedule/_edit_grid.html +++ b/symposion/templates/schedule/_edit_grid.html @@ -1,3 +1,4 @@ +{% load url from future %} @@ -15,9 +16,9 @@ {% endfor %} diff --git a/symposion/templates/schedule/_grid.html b/symposion/templates/schedule/_grid.html index be62d912629d8be27c9a5eb149363f29eff7de0c..71f984483dfb8b0eb1e4bce5ab8cd57a3cd7c5b1 100644 --- a/symposion/templates/schedule/_grid.html +++ b/symposion/templates/schedule/_grid.html @@ -1,3 +1,4 @@ +{% load url from future %}
{% if slot.kind.label == "talk" or slot.kind.label == "tutorial" %} {% if not slot.content %} - + + + {% else %} - {{ slot.content.title }} + {{ slot.content.title }} {{ slot.content.speaker }} {% endif %} {% else %} @@ -26,7 +27,7 @@ {% else %} {{ slot.kind.label }} {% endif %} - — edit + — edit {% endif %}
@@ -17,7 +18,7 @@ {% if not slot.content %} {% else %} - {{ slot.content.title }} + {{ slot.content.title }} {{ slot.content.speakers|join:", " }} diff --git a/symposion/templates/schedule/_slot_edit.html b/symposion/templates/schedule/_slot_edit.html index d8b5ae9ea509bea85bf87b8a1d0b24dc6213c63b..385ff89f98cf20c42914ea3437d0c5f4d7f3793e 100644 --- a/symposion/templates/schedule/_slot_edit.html +++ b/symposion/templates/schedule/_slot_edit.html @@ -1,5 +1,6 @@ +{% load url from future %} {% load i18n bootstrap_tags %} - +