| |
| <!-- |
| Copyright 2017-present Open Networking Foundation |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| |
| {% extends "admin/change_form.html" %} |
| {% load i18n admin_static admin_modify suit_tags admin_urls %} |
| {% load url from future %} |
| |
| {% if not is_popup %} |
| {% block breadcrumbs %} |
| <ul class="breadcrumb"> |
| <li> |
| <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> |
| <span class="divider">»</span> |
| </li> |
| <li> |
| {% if custom_app_breadcrumb_url %} |
| <a href="{{ custom_app_breadcrumb_url }}">{{ custom_app_breadcrumb_name }}</a> |
| {% else %} |
| <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{% firstof opts.app_config.verbose_name app_label|capfirst|escape %}</a> |
| {% endif %} |
| <span class="divider">»</span> |
| </li> |
| <li> |
| {% if has_change_permission %} |
| {% if custom_changelist_breadcrumb_url %} |
| <a href="{{ custom_changelist_breadcrumb_url }}"> |
| {% else %} |
| <a href="{% url opts|admin_urlname:'changelist' %}"> |
| {% endif %} |
| {{ opts.verbose_name_plural|capfirst }}</a>{% else %} |
| {{ opts.verbose_name_plural|capfirst }}{% endif %} |
| <span class="divider">»</span> |
| </li> |
| <li class="active"> |
| {% if add %}{% trans 'Add' %} {{ opts.verbose_name }}{% else %}{{ original|truncatewords:"18" }}{% endif %} |
| </li> |
| </ul> |
| {% endblock %} |
| {% endif %} |