Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (23 sloc) 0.895 kB
{% extends "admin/change_list.html" %}
{% load shop_tags pages_tags i18n adminmedia %}
{% block extrahead %}
{{ block.super }}
<script src="{{ STATIC_URL }}mezzanine/js/jquery-ui-1.8.14.custom.min.js"></script>
<script src="{{ STATIC_URL }}mezzanine/js/admin/page_tree.js"></script>
{% endblock %}
{% block object-tools-items %}
<li>
<div id="addlist-primary">
<select class="addlist">
<option value="">{% trans "Add" %} ...</option>
{% models_for_products as product_models %}
{% for model in product_models %}
{% set_model_permissions model %}
{% if model.perms.add %}
<option value="{{ model.add_url }}">{{ model.name }}</option>
{% endif %}
{% endfor %}
</select>
</div>
</li>
{% endblock %}
Jump to Line
Something went wrong with that request. Please try again.