Ajout Document.get_url()
This commit is contained in:
		
							parent
							
								
									973e312de0
								
							
						
					
					
						commit
						af17ed0d46
					
				
					 4 changed files with 8 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -9,7 +9,7 @@
 | 
			
		|||
    <div class="border-bottom border-danger mt-3{% if item.prive %} prive{% endif %}">
 | 
			
		||||
        <div class="row">
 | 
			
		||||
            <div class="col col-12 col-sm-8 col-lg-10 fs-4">
 | 
			
		||||
                <a href="{{ item.url|default:item.fichier.url }}">{{ item.titre }}</a>
 | 
			
		||||
                <a href="{{ item.get_url }}">{{ item.titre }}</a>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="col col-12 col-sm-4 col-lg-2 text-end">
 | 
			
		||||
                {{ item.quand|date:'d F Y' }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue