Changeset - 55d37c13bdf4
[Not reviewed]
0 1 0
Rebecca Lovewell - 10 years ago 2014-01-15 14:36:15
rebecca@caktusgroup.com
Use {% load url from future %} in conference templates

Using https://github.com/futurecolors/django-future-url
1 file changed with 5 insertions and 2 deletions:
0 comments (0 inline, 0 general)
symposion/templates/conference/user_list.html
Show inline comments
 
{% extends "site_base.html" %}
 

	
 
{% load url from future %}
 

	
 

	
 
{% load i18n %}
 
{% load sitetree %}
 

	
...
 
@@ -68,9 +71,9 @@
 
                            <td>{{ user.get_full_name }}</td>
 
                            <td>
 
                                {% if user.speaker_profile %}
 
                                    <a href="{% url speaker_profile user.speaker_profile.pk %}">{{ user.speaker_profile }}</a>
 
                                    <a href="{% url 'speaker_profile' user.speaker_profile.pk %}">{{ user.speaker_profile }}</a>
 
                                {% else %}
 
                                    <a href="{% url speaker_create_staff user.pk %}" class="btn btn-mini">create</a>
 
                                    <a href="{% url 'speaker_create_staff' user.pk %}" class="btn btn-mini">create</a>
 
                                {% endif %}
 
                            </td>
 
                        </tr>
0 comments (0 inline, 0 general)