Add ungleich_page cms_plugins and section templates
This commit is contained in:
parent
b6f1309735
commit
a5dea2b399
3 changed files with 110 additions and 0 deletions
17
ungleich_page/cms_plugins.py
Normal file
17
ungleich_page/cms_plugins.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
from cms.plugin_base import CMSPluginBase
|
||||
from cms.plugin_pool import plugin_pool
|
||||
from cms.models.pluginmodel import CMSPlugin
|
||||
|
||||
|
||||
@plugin_pool.register_plugin
|
||||
class SectionWithImagePlugin(CMSPluginBase):
|
||||
model = CMSPlugin
|
||||
render_template = "ungleich_page/glasfaser/section_with_image.html"
|
||||
cache = False
|
||||
|
||||
|
||||
@plugin_pool.register_plugin
|
||||
class SectionContact(CMSPluginBase):
|
||||
model = CMSPlugin
|
||||
render_template = "ungleich_page/glasfaser/section_contact.html"
|
||||
cache = False
|
||||
Loading…
Add table
Add a link
Reference in a new issue