misc: remove support for ezt format in skeletons (#19522)
This commit is contained in:
parent
e72bc80cdd
commit
c65b13c91d
|
@ -32,8 +32,6 @@ from combo.apps.dashboard.models import DashboardCell, Tile
|
|||
register = template.Library()
|
||||
|
||||
def skeleton_text(context, placeholder_name, content=''):
|
||||
if context['request'].GET.get('format') == 'ezt':
|
||||
return '[if-any %s][%s][end]' % (placeholder_name, placeholder_name)
|
||||
return '{%% block placeholder-%s %%}{%% block %s %%}%s{%% endblock %%}{%% endblock %%}' % (
|
||||
placeholder_name, placeholder_name, content)
|
||||
|
||||
|
|
Loading…
Reference in New Issue