{% extends "admin/change_form.html" %} {% load i18n %} {% block extrahead %} {{ block.super }} {% endblock %} {% block object-tools-items %} {% if perms.planb.change_fileset %} {% with original.get_transport as transport %}{% if transport %}
  • {% trans "Edit transport" %}
  • {% else %} {# FIXME: don't hardcode this #}
  • {% trans "New rsync/ssh transport" %}
  • {# FIXME: order this somehow, by prio in PLANB_TRANSPORTS? #}
  • {% trans "New exec transport" %}
  • {% endif %}{% endwith %}
  • {% trans "Enqueue" %}
  • {% trans "Enqueue+keep" %}
  • {% endif %} {{ block.super }} {% endblock %}