Add ids to sponsor images to allow linking to each sponsor's entry.

This commit is contained in:
Steve Holden 2013-01-21 00:08:05 -08:00
parent 465c170e3d
commit 2e7f8259d8

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.id }} src="{% thumbnail sponsor.logo dimensions %}" alt="{{ sponsor.name }}" />
{% else %} {% else %}
<img src="{% thumbnail sponsor.logo '150x150' %}" alt="{{ sponsor.name }}" /> <img id="Sponsor{{ sponsor.id }}" src="{% thumbnail sponsor.logo '150x150' %}" alt="{{ sponsor.name }}" />
{% endif %} {% endif %}
</a> </a>
{% endspaceless %} {% endspaceless %}