Changeset - 2e7f8259d8f3
[Not reviewed]
0 1 0
Steve Holden - 11 years ago 2013-01-21 08:08:05
steve@holdenweb.com
Add ids to sponsor images to allow linking to each sponsor's entry.
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 src="{% thumbnail sponsor.logo dimensions %}" alt="{{ sponsor.name }}" />
 
        <img id="Sponsor{{ sponsor.id }} src="{% thumbnail sponsor.logo dimensions %}" alt="{{ sponsor.name }}" />
 
    {% else %}
 
        <img src="{% thumbnail sponsor.logo '150x150' %}" alt="{{ sponsor.name }}" />
 
        <img id="Sponsor{{ sponsor.id }}" src="{% thumbnail sponsor.logo '150x150' %}" alt="{{ sponsor.name }}" />
 
    {% endif %}
 
</a>
 
{% endspaceless %}
0 comments (0 inline, 0 general)