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:
parent
efac8997f2
commit
c5ecca2d36
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user