Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated icon-unknown link for django 1.9 #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ But I also plan to add other features I developed for my own projects.
Usage
-----

Prior to 1.5:

It’s only compatible with Django 1.7.2 to 1.7.8 (I tested) and probably 1.8.
Don’t even try with previous versions, django-super-inlines relies on changes
that happened between 1.6 and 1.7.2.

From 1.5:

compatible with 1.9.

For design reasons, you can’t nest inlines inside tabular inlines,
only inside stacked inlines.

Expand Down
2 changes: 1 addition & 1 deletion super_inlines/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = (0, 1, 4)
__version__ = (0, 1, 5)
version_string = '.'.join(str(n) for n in __version__)
2 changes: 1 addition & 1 deletion super_inlines/templates/admin/edit_inline/tabular.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h2>{{ inline.verbose_name_plural|capfirst }}</h2>
<th{% if forloop.first %} colspan="2"{% endif %}{% if field.required %} class="required"{% endif %}>
{{ field.label|capfirst }}
{% if field.help_text %}
<img src="{% static "admin/img/icon-unknown.gif" %}" class="help help-tooltip" width="10" height="10" alt="({{ field.help_text|striptags }})" title="{{ field.help_text|striptags }}" />
<img src="{% static "admin/img/icon-unknown.svg" %}" class="help help-tooltip" width="10" height="10" alt="({{ field.help_text|striptags }})" title="{{ field.help_text|striptags }}" />
{% endif %}
</th>
{% endif %}
Expand Down