Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#1421] Register missing ProductFinderPlugin and ProductLocationPlugin #606

Merged
merged 1 commit into from
May 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/open_inwoner/cms/products/cms_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def render(self, context, instance, placeholder):

@plugin_pool.register_plugin
class QuestionnairePlugin(CMSPluginBase):
module = _("Questionnaire")
module = _("PDC")
name = _("Questionnaire Plugin")
render_template = "cms/questionnaire/questionnaire_plugin.html"

Expand All @@ -37,6 +37,7 @@ def render(self, context, instance, placeholder):
return context


@plugin_pool.register_plugin
class ProductFinderPlugin(CMSPluginBase):
module = _("PDC")
name = _("Product Finder Plugin")
Expand All @@ -48,6 +49,7 @@ def render(self, context, instance, placeholder):
return context


@plugin_pool.register_plugin
class ProductLocationPlugin(CMSPluginBase):
module = _("PDC")
name = _("Product Location Plugin")
Expand Down