{% load i18n admin_urls %} {% block object-tools-items %} {% if deal_url %}
  • {% translate "View the deal" %}
  • {% endif %}
  • {% url opts|admin_urlname:'history' original.pk|admin_urlquote as history_url %} {% translate "History" %}
  • {% if has_absolute_url %}
  • {% translate "View on site" %}
  • {% endif %} {% endblock %}