Merge pull request #21 from holdenweb/master

Tiny change to make sponsor entries addressable
This commit is contained in:
Luke Hatcher 2013-01-24 12:29:23 -08:00
commit 91366dcd24

View file

@ -2,9 +2,9 @@
{% spaceless %} {% spaceless %}
<a href="{{ sponsor.external_url }}"> <a href="{{ sponsor.external_url }}">
{% if dimensions %} {% if dimensions %}
<img src="{% thumbnail sponsor.logo dimensions %}" alt="{{ sponsor.name }}" /> <img id="sponsor_{{ sponsor.pk }}" src="{% thumbnail sponsor.logo dimensions %}" alt="{{ sponsor.name }}" />
{% else %} {% else %}
<img src="{% thumbnail sponsor.logo '150x150' %}" alt="{{ sponsor.name }}" /> <img id="sponsor_{{ sponsor.pk }}" src="{% thumbnail sponsor.logo '150x150' %}" alt="{{ sponsor.name }}" />
{% endif %} {% endif %}
</a> </a>
{% endspaceless %} {% endspaceless %}