Navigation Menu

Skip to content

Commit

Permalink
Update symposion/templates/sponsorship/_sponsor_link.html
Browse files Browse the repository at this point in the history
Improved reference format and used pk rather than id 
- thanks to trbs for the suggestion
  • Loading branch information
holdenweb committed Jan 21, 2013
1 parent 2e7f825 commit 8afa17b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions symposion/templates/sponsorship/_sponsor_link.html
Expand Up @@ -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.