Permalink
Browse files

Update symposion/templates/sponsorship/_sponsor_link.html

Improved reference format and used pk rather than id 
- thanks to trbs for the suggestion
  • Loading branch information...
1 parent 2e7f825 commit 8afa17b1c172a16ea375773da2433dfa2f7d2f3e @holdenweb holdenweb committed Jan 21, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 symposion/templates/sponsorship/_sponsor_link.html
@@ -2,9 +2,9 @@
{% spaceless %}
<a href="{{ sponsor.external_url }}">
{% if dimensions %}
- <img id="Sponsor{{ sponsor.id }} src="{% thumbnail sponsor.logo dimensions %}" alt="{{ sponsor.name }}" />
+ <img id="sponsor_{{ sponsor.pk }}" src="{% thumbnail sponsor.logo dimensions %}" alt="{{ sponsor.name }}" />
{% else %}
- <img id="Sponsor{{ sponsor.id }}" src="{% thumbnail sponsor.logo '150x150' %}" alt="{{ sponsor.name }}" />
+ <img id="sponsor_{{ sponsor.pk }}" src="{% thumbnail sponsor.logo '150x150' %}" alt="{{ sponsor.name }}" />
{% endif %}
</a>
{% endspaceless %}

0 comments on commit 8afa17b

Please sign in to comment.