some things
This commit is contained in:
		@ -247,7 +247,6 @@ class ListBase(models.Model):
 | 
			
		||||
            qs = qs.filter(date__gte = date)
 | 
			
		||||
        return qs
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def get_queryset(self):
 | 
			
		||||
        """
 | 
			
		||||
        Get queryset based on the arguments. This class is intended to be
 | 
			
		||||
 | 
			
		||||
@ -178,6 +178,10 @@ ul.list {
 | 
			
		||||
 | 
			
		||||
    .date_list nav a {
 | 
			
		||||
        display: inline-block;
 | 
			
		||||
        width: 2em;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .date_list nav a.date {
 | 
			
		||||
        width: 4em;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -13,7 +13,7 @@
 | 
			
		||||
    {% for day in nav_dates.dates %}
 | 
			
		||||
    <a onclick="select_tab(this, '.panel[data-date=\'{{day|date:"Y-m-d"}}\']');"
 | 
			
		||||
        {% if day == nav_dates.date %}selected{% endif %}
 | 
			
		||||
        class="tab {% if day == nav_dates.date %}today{% endif %}"
 | 
			
		||||
        class="tab date {% if day == nav_dates.date %}today{% endif %}"
 | 
			
		||||
        title="{{ day|date:"l d F Y" }}"
 | 
			
		||||
        >
 | 
			
		||||
        {{ day|date:'D. d' }}
 | 
			
		||||
 | 
			
		||||
@ -6,7 +6,9 @@ is just a bit different.
 | 
			
		||||
{% load wagtailimages_tags %}
 | 
			
		||||
 | 
			
		||||
<a {% if item.url %}href="{{ item.url }}" {% endif %}
 | 
			
		||||
    class="list_item date_list_item {% if not item_big_cover %}flex_row {% endif %}{% if item.css_class %}{{ item.css_class }}{% endif %}">
 | 
			
		||||
    class="list_item date_list_item {% if not item_big_cover %}flex_row {% endif %}{% if item.css_class %}{{ item.css_class }}{% endif %}"
 | 
			
		||||
    title="{{ item.date|date:"l d F Y" }}"
 | 
			
		||||
    >
 | 
			
		||||
 | 
			
		||||
    {% if not item.show_in_menus and item.date and item_date_format != '' %}
 | 
			
		||||
    {% with date_format=item_date_format|default_if_none:'l d F, H:i' %}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user