Skip to content

Commit

Permalink
Merge pull request #129 from nossas/fix/map-plugin-in-block
Browse files Browse the repository at this point in the history
Fix: Adiciona MapPlugin dentro de Block e Column plugin
  • Loading branch information
igr-santos authored Oct 9, 2023
2 parents 9e7744e + 2607c40 commit f4d1cd1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/contrib/frontend/grid/cms_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class ColumnPlugin(CMSPluginBase):
"PressurePlugin",
"VideoPlayerPlugin",
"SnippetPlugin",
"LeafletMapPlugin"
]


Expand Down
1 change: 1 addition & 0 deletions app/contrib/frontend/landpage/plugin_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class BlockPluginBase(CMSPluginBase):
"ButtonPlugin",
"VideoPlayerPlugin",
"SnippetPlugin",
"LeafletMapPlugin"
]
prepopulated_fields = {"slug": ("title",)}
fieldsets = [
Expand Down
2 changes: 1 addition & 1 deletion app/project/settings/cms.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
CMS_PLACEHOLDER_CONF = {
"content": {
"name": "Blocos",
"plugins": ["BlockPlugin", "BlockPressurePlugin", "EleicaoCandidateListPlugin", "EleicaoCarouselPlugin", "EleicaoVoterFormPlugin", "LeafletMapPlugin"],
"plugins": ["BlockPlugin", "BlockPressurePlugin", "EleicaoCandidateListPlugin", "EleicaoCarouselPlugin", "EleicaoVoterFormPlugin"],
},
"navigation": {
"name": "Navegação",
Expand Down

0 comments on commit f4d1cd1

Please sign in to comment.