{% extends 'oscar/dashboard/layout.html' %} {% load i18n %} {% load currency_filters %} {% block title %} {{ method.name }} | {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block headertext %} {{ method.name }} {% endblock %} {% block dashboard_content %}

{% trans "Shipping method" %}

{% with countries=method.countries.all %} {% if countries %} {% endif %} {% endwith %}
{% trans "Name" %} {{ method.name }}
{% trans "Description" %} {{ method.description|safe|default:"-" }}
{% trans "Applies to countries" %} {{ countries|join:", " }}
{% trans "Default product weight (kg)" %} {{ method.default_weight }}

{% trans 'Edit shipping method' %} {% trans 'Delete shipping method' %}

{% trans "Weight bands" %}

{% if method.bands.all.count %} {% for band in method.bands.all %} {% endfor %}
{% trans "Weight range (kg)" %} {% trans "Charge" %}
{{ band.weight_from|floatformat:3 }} - {{ band.weight_to|floatformat:3 }} {{ band.charge|currency }} {% trans "Edit" %} {% trans "Delete" %}
{% else %}

{% trans "No weight bands have been added yet." %}

{% endif %}

{% trans "Add a new weight band" %}

{% csrf_token %} {% include "oscar/dashboard/partials/form_fields.html" with form=form %}
{% endblock %}