Changeset - 8afa17b1c172
[Not reviewed]
0 1 0
Steve Holden - 11 years ago 2013-01-21 17:20:11
holdenweb@gmail.com
Update symposion/templates/sponsorship/_sponsor_link.html

Improved reference format and used pk rather than id
- thanks to trbs for the suggestion
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
symposion/templates/sponsorship/_sponsor_link.html
Show inline comments
...
 
@@ -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 (0 inline, 0 general)