From 4074d9165e013ae3bbaf2b9f1f778a27a5e292d5 Mon Sep 17 00:00:00 2001 From: Christian Kesselheim Date: Wed, 27 Jul 2011 21:19:10 +0200 Subject: [PATCH] Made sure the "Visit on site" link for tabular inlines always opens its target within a new browser tab or window (thus being not only consistent with similar links elsewhere but also making sure that no pending changes get lost when the user clicks it) --- grappelli/templates/admin/edit_inline/tabular.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grappelli/templates/admin/edit_inline/tabular.html b/grappelli/templates/admin/edit_inline/tabular.html index 8dd982cbb..b187e34c7 100644 --- a/grappelli/templates/admin/edit_inline/tabular.html +++ b/grappelli/templates/admin/edit_inline/tabular.html @@ -58,7 +58,7 @@

{{ inline_admin_formset.opts.verbose_name|title }}
{% spaceless %}
    - {% if inline_admin_form.show_url %}{% endif %} + {% if inline_admin_form.show_url %}{% endif %} {% if inline_admin_formset.opts.sortable_field_name %}
  • {% endif %}