target update
This commit is contained in:
		@ -1017,7 +1017,7 @@ class SectionTimetable(SectionItem,DatedListBase):
 | 
			
		||||
        context['object_list'] = self.get_queryset(context)
 | 
			
		||||
        context['target'] = self.target
 | 
			
		||||
        if not self.nav_visible:
 | 
			
		||||
            context['nav_dates'] = None
 | 
			
		||||
            del context['nav_dates']['dates'];
 | 
			
		||||
        return context
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -2,7 +2,7 @@
 | 
			
		||||
 | 
			
		||||
{# FIXME: get current complete URL #}
 | 
			
		||||
<div class="list date_list">
 | 
			
		||||
{% if nav_dates %}
 | 
			
		||||
{% if nav_dates.dates %}
 | 
			
		||||
<nav class="nav_dates">
 | 
			
		||||
    {% if target %}
 | 
			
		||||
    <a href="{{ target.url }}?date={{ nav_dates.today|date:"Y-m-d" }}" title="{% trans "go to today" %}">○</a>
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user