Display summary for first news item
This commit is contained in:
		
							parent
							
								
									c64e52d9e6
								
							
						
					
					
						commit
						5c0c8edb69
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -13,7 +13,7 @@ | ||||||
| {% ifnotequal news.number 1 %}<p>(Page {{ news.number }} of {{ news.paginator.num_pages }})</p>{% endifnotequal %} | {% ifnotequal news.number 1 %}<p>(Page {{ news.number }} of {{ news.paginator.num_pages }})</p>{% endifnotequal %} | ||||||
| 
 | 
 | ||||||
| {% for pressr in news %} | {% for pressr in news %} | ||||||
|   {% if pressr.is_recent %} |   {% if forloop.first %} | ||||||
|     {% include "news/pressrelease_partial.html" with pressr=pressr show="summary" only %} |     {% include "news/pressrelease_partial.html" with pressr=pressr show="summary" only %} | ||||||
|   {% else %} |   {% else %} | ||||||
|     {% include "news/pressrelease_partial.html" with pressr=pressr show="dateline" only %} |     {% include "news/pressrelease_partial.html" with pressr=pressr show="dateline" only %} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue