Skip to content
Permalink
Browse files

Fixed #6440 -- render_plugin_block template tag (#6472)

* - Fixes #6440 - `render_plugin_block` template tag
- removes unnecessary template
- updates changelog

* adapted changelog
  • Loading branch information...
SteinRobert authored and FinalAngel committed Mar 11, 2019
1 parent 63a0ac1 commit c5e105efda8383174ff54969d17aa43b8670918a
Showing with 3 additions and 5 deletions.
  1. +0 −2 cms/templates/cms/toolbar/render_plugin_block.html
  2. +3 −3 cms/templatetags/cms_tags.py

This file was deleted.

Oops, something went wrong.
@@ -342,15 +342,15 @@ class RenderPluginBlock(InclusionTag):
"""

name = 'render_plugin_block'
template = "cms/toolbar/render_plugin_block.html"
template = "cms/toolbar/plugin.html"
options = Options(
Argument('plugin'),
blocks=[('endrender_plugin_block', 'nodelist')],
)

def get_context(self, context, plugin, nodelist):
context['inner'] = nodelist.render(context)
context['plugin'] = plugin
context['content'] = nodelist.render(context)
context['instance'] = plugin
return context


0 comments on commit c5e105e

Please sign in to comment.
You can’t perform that action at this time.