Add menus template for glasfaser template
This commit is contained in:
		
					parent
					
						
							
								24fe8c4c6e
							
						
					
				
			
			
				commit
				
					
						ac5c43822f
					
				
			
		
					 1 changed files with 12 additions and 0 deletions
				
			
		
							
								
								
									
										12
									
								
								ungleich_page/templates/ungleich_page/glasfaser/menus.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								ungleich_page/templates/ungleich_page/glasfaser/menus.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | ||||||
|  | {% load menu_tags %} | ||||||
|  | 
 | ||||||
|  | {% for child in children %} | ||||||
|  | <li class="child{% if child.selected %} selected{% endif %}{% if child.ancestor %} ancestor{% endif %}{% if child.sibling %} sibling{% endif %}{% if child.descendant %} descendant{% endif %}"> | ||||||
|  | 	<a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}" class="page-scroll">{{ child.get_menu_title }}</a> | ||||||
|  | 	{% if child.children %} | ||||||
|  | 	<ul> | ||||||
|  | 		{% show_menu from_level to_level extra_inactive extra_active template "" "" child %} | ||||||
|  | 	</ul> | ||||||
|  | 	{% endif %} | ||||||
|  | </li> | ||||||
|  | {% endfor %} | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue