From 2e7f8259d8f375c0b0eb6df6c7e1def300ea358d Mon Sep 17 00:00:00 2001 From: Steve Holden Date: Mon, 21 Jan 2013 00:08:05 -0800 Subject: [PATCH 1/2] Add ids to sponsor images to allow linking to each sponsor's entry. --- symposion/templates/sponsorship/_sponsor_link.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/symposion/templates/sponsorship/_sponsor_link.html b/symposion/templates/sponsorship/_sponsor_link.html index 39d9aade..98f5408b 100644 --- a/symposion/templates/sponsorship/_sponsor_link.html +++ b/symposion/templates/sponsorship/_sponsor_link.html @@ -2,9 +2,9 @@ {% spaceless %} {% if dimensions %} - {{ sponsor.name }} + {{ sponsor.name }} {% else %} - {{ sponsor.name }} + {{ sponsor.name }} {% endif %} {% endspaceless %} From 8afa17b1c172a16ea375773da2433dfa2f7d2f3e Mon Sep 17 00:00:00 2001 From: Steve Holden Date: Mon, 21 Jan 2013 09:20:11 -0800 Subject: [PATCH 2/2] Update symposion/templates/sponsorship/_sponsor_link.html Improved reference format and used pk rather than id - thanks to trbs for the suggestion --- symposion/templates/sponsorship/_sponsor_link.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/symposion/templates/sponsorship/_sponsor_link.html b/symposion/templates/sponsorship/_sponsor_link.html index 98f5408b..7b912bdb 100644 --- a/symposion/templates/sponsorship/_sponsor_link.html +++ b/symposion/templates/sponsorship/_sponsor_link.html @@ -2,9 +2,9 @@ {% spaceless %} {% if dimensions %} - {{ sponsor.name }} + {% else %} - {{ sponsor.name }} + {% endif %} {% endspaceless %}