Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (30 sloc) 1.061 kb
{% load i18n %}
{% comment %}
// TODO: DEPRICATED
{% if not add %}
<div class="plugin-list-holder" id="placeholder-{{ placeholder.pk }}">
<ul class="plugin-list" id="plugin-list-{{ placeholder.pk }}">
{% include "admin/cms/page/widgets/plugin_item.html" %}
</ul>
{% include "admin/cms/page/widgets/installed_plugins_inc.html" %}
</div>
{% endif %}
<div class="plugin-editor">
{% if add %}
<p>{% blocktrans %}You must save the page first to add plugins.{% endblocktrans %}</p>
{% else %}
{% if plugin_list %}
<p>{% blocktrans %}No Plugin selected. Selected one on the left side{% endblocktrans %}</p>
{% else %}
<p>{% blocktrans %}No Plugins present. Add a plugin to this placeholder-slot.{% endblocktrans %}</p>
{% endif %}
{% endif %}
</div>
<script type="text/javascript">
cms_plugin_editor_jQuery(document).ready(function($){
var placeholder_element = $('#placeholder-{{ placeholder.pk }}');
placeholder_element.data('id', {{ placeholder.pk }});
placeholder_element.data('name', '{{ placeholder.slot }}');
});
</script>
{% endcomment %}
Jump to Line
Something went wrong with that request. Please try again.