forked from rc/aircox
		
	work on home page, fix views & templates issues
This commit is contained in:
		
							
								
								
									
										28
									
								
								aircox/templates/aircox/widgets/page_list.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								aircox/templates/aircox/widgets/page_list.html
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,28 @@
 | 
			
		||||
{% comment %}
 | 
			
		||||
Display list of items as small list
 | 
			
		||||
 | 
			
		||||
Context:
 | 
			
		||||
- object_list: object list
 | 
			
		||||
- list_url: url to complete list page
 | 
			
		||||
{% endcomment %}
 | 
			
		||||
{% load i18n %}
 | 
			
		||||
 | 
			
		||||
{% for object in object_list %}
 | 
			
		||||
{% include object.item_template_name %}
 | 
			
		||||
{% endfor %}
 | 
			
		||||
 | 
			
		||||
{% if list_url %}
 | 
			
		||||
<br>
 | 
			
		||||
<nav class="pagination is-centered">
 | 
			
		||||
    <ul class="pagination-list">
 | 
			
		||||
        <li>
 | 
			
		||||
            <a href="{{ list_url }}" class="pagination-link"
 | 
			
		||||
                aria-label="{% trans "Show all publications" %}">
 | 
			
		||||
                {% trans "Show more" %}
 | 
			
		||||
            </a>
 | 
			
		||||
        </li>
 | 
			
		||||
    </ul>
 | 
			
		||||
</nav>
 | 
			
		||||
{% endif %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user