Skip to content

Commit

Permalink
Fixed a typo that caused the "Visit on site" link to break for stacke…
Browse files Browse the repository at this point in the history
…d inlines
  • Loading branch information
Christian Kesselheim committed Jul 27, 2011
1 parent f485991 commit 31fa6cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grappelli/templates/admin/edit_inline/stacked.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h2 class="collapse-handler">{{ inline_admin_formset.opts.verbose_name_plural|ti
id="{{ inline_admin_formset.formset.prefix }}{% if forloop.last %}-empty{% else %}{{ forloop.counter0 }}{% endif %}">
<h3 class="collapse-handler">{{ inline_admin_formset.opts.verbose_name|title }}&nbsp;&nbsp;{% if inline_admin_form.original %}{{ inline_admin_form.original }}{% endif %}</h3>
<ul class="tools">
{% if inline_admin_form.show_url %}<li class="viewsite-link-container"><a href="../../../r/{{ inline_admin_form.original.content_type_id }}/{{ inline_admin_form.original.id }}/" class="icon viewsite-link" title="{% trans 'View on Site' %}" target="_blank"></a></li>{% endif %}
{% if inline_admin_form.show_url %}<li class="viewsite-link-container"><a href="../../../r/{{ inline_admin_form.original_content_type_id }}/{{ inline_admin_form.original.id }}/" class="icon viewsite-link" title="{% trans 'View on Site' %}" target="_blank"></a></li>{% endif %}
{% if inline_admin_formset.opts.sortable_field_name %}
<li class="drag-handler-container"><a href="javascript://" class="icon drag-handler" title="{% trans 'Move Item' %}"></a></li>
{% endif %}
Expand Down

0 comments on commit 31fa6cc

Please sign in to comment.