Skip to content

Commit

Permalink
Merge pull request #24 from vikingco/TFD-690/loader-gif
Browse files Browse the repository at this point in the history
Use the correct fallback for loader image
  • Loading branch information
Bart Moelans authored May 4, 2017
2 parents 8c04236 + e4f639e commit 39c42de
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/django_ajax/templates/django-ajax/_loader.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{% load i18n %}
{% load static from staticfiles %}

{% if STATIC_URL %}
<img src="{{ STATIC_URL }}ajax-utilities/img/loader.gif" alt="" />
{% else %}
<img src="{{ MEDIA_URL }}common/img/loader.gif" alt="" />
{% endif %}
<img src="{% static 'common/img/loader.gif' %}" alt="[{% trans "Loading" %}]" title="[{% trans "Loading" %}]" />
{% trans "Loading page" %}...

0 comments on commit 39c42de

Please sign in to comment.