Add SectionTextParagraphDCL and SectionTextParagraphGlasfaser
This commit is contained in:
		
					parent
					
						
							
								27766329c9
							
						
					
				
			
			
				commit
				
					
						14bbfe901d
					
				
			
		
					 1 changed files with 17 additions and 1 deletions
				
			
		|  | @ -1,7 +1,9 @@ | ||||||
| from cms.plugin_base import CMSPluginBase | from cms.plugin_base import CMSPluginBase | ||||||
| from cms.plugin_pool import plugin_pool | from cms.plugin_pool import plugin_pool | ||||||
| 
 | 
 | ||||||
| from .models import UngelichPicture, UngelichContactUsSection | from .models import ( | ||||||
|  |     UngelichPicture, UngelichContactUsSection, UngelichTextSection | ||||||
|  | ) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @plugin_pool.register_plugin | @plugin_pool.register_plugin | ||||||
|  | @ -24,3 +26,17 @@ class SectionContact(CMSPluginBase): | ||||||
|     model = UngelichContactUsSection |     model = UngelichContactUsSection | ||||||
|     render_template = "ungleich_page/glasfaser/section_contact.html" |     render_template = "ungleich_page/glasfaser/section_contact.html" | ||||||
|     cache = False |     cache = False | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | @plugin_pool.register_plugin | ||||||
|  | class SectionTextParagraphDCL(CMSPluginBase): | ||||||
|  |     model = UngelichTextSection | ||||||
|  |     render_template = "ungleich_page/glasfaser/section_text_dcl.html" | ||||||
|  |     cache = False | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | @plugin_pool.register_plugin | ||||||
|  | class SectionTextParagraphGlasfaser(CMSPluginBase): | ||||||
|  |     model = UngelichTextSection | ||||||
|  |     render_template = "ungleich_page/glasfaser/section_text_glasfaser.html" | ||||||
|  |     cache = False | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue