{% extends "admin/change_form.html" %}

{% load i18n %}

{% block object-tools %}
{% if change %}{% if not is_popup %}
  <ul class="object-tools"><li><a href="history/" class="historylink">{% trans "History" %}</a></li>
  {% if has_absolute_url and original.visible %}<li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">{% trans "View on site" %} {{model.visible}}</a></li>{% endif%}
  </ul>
{% endif %}{% endif %}
{% endblock %}

Hide 'View on site' link if newsletter not visible
Hide 'View on site' link if newsletter not visible
