misc: remove support for ezt format in skeletons (#19522)

This commit is contained in:
Frédéric Péters 2017-10-18 14:46:58 +02:00
parent e72bc80cdd
commit c65b13c91d
1 changed files with 0 additions and 2 deletions

View File

@ -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)