Be more explicit about template location.

This commit is contained in:
Peter Fogg
2013-06-03 15:48:07 -04:00
parent 8a67454f98
commit bf88e5ce6a

View File

@@ -58,7 +58,9 @@
% if type == 'advanced' or len(templates) > 1:
<a href="#" class="multiple-templates" data-type="${type}">
% else:
<a href="#" class="single-template" data-type="${type}" data-location="${templates[0][1]}">
% for _, location, _ in templates:
<a href="#" class="single-template" data-type="${type}" data-location="${location}">
% endfor
% endif
<span class="large-template-icon large-${type}-icon"></span>
<span class="name">${type}</span>