AJout de la ligne "now" sur la vue "à venir"
This commit is contained in:
		@@ -1567,5 +1567,9 @@ label.required::after {
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    margin-bottom: 0;
 | 
			
		||||
    list-style: none;
 | 
			
		||||
}
 | 
			
		||||
.a-venir .line-now {
 | 
			
		||||
    margin-left: -2em;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
@@ -95,6 +95,9 @@
 | 
			
		||||
                <h3>{{ ti.short_name }} <a class="badge simple" href="#{{ ti.id }}" data-tooltip="Aller à {{ ti.name }}">{{ ti.events|length }} {% picto_from_name "chevrons-down" %}</a></h3>
 | 
			
		||||
                <ul>
 | 
			
		||||
                {% for event in ti.events %}
 | 
			
		||||
                    {% if event.is_first_after_now %} 
 | 
			
		||||
                    <li class="line-now"><div><div>{% now "H:i" %}</div><div class="line"></div></div></li>
 | 
			
		||||
                    {% endif %}
 | 
			
		||||
                    <li>{{ event.category | circle_cat:event.has_recurrences }}
 | 
			
		||||
                        {% if event.start_time %}
 | 
			
		||||
                        {{ event.start_time }}
 | 
			
		||||
@@ -102,6 +105,9 @@
 | 
			
		||||
                        {{ event|picto_status }} <a href="#event-{{ event.id }}">{{ event.title|no_emoji }}</a> {{ event|tw_badge }} 
 | 
			
		||||
                    </li>
 | 
			
		||||
                {% endfor %}
 | 
			
		||||
                {% if forloop.last and cd.is_today_after_events %}
 | 
			
		||||
                <li class="line-now"><div><div>{% now "H:i" %}</div><div class="line"></div></div></li>
 | 
			
		||||
                {% endif %}
 | 
			
		||||
                </ul>
 | 
			
		||||
            {% endif %}
 | 
			
		||||
            {% endfor %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user