forked from rc/aircox
templates: add target to preview links in order to be able to follow them in the dashboad view
This commit is contained in:
@ -56,7 +56,7 @@ Styling related context:
|
|||||||
<div class="actions">
|
<div class="actions">
|
||||||
{% block actions %}
|
{% block actions %}
|
||||||
{% if admin and object.edit_url_name %}
|
{% if admin and object.edit_url_name %}
|
||||||
<a href="{% url object.edit_url_name pk=object.pk %}">{% translate "Edit" %}</a>
|
<a href="{% url object.edit_url_name pk=object.pk %}" target="_self">{% translate "Edit" %}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user