Commit bf88e5ce by Peter Fogg

Be more explicit about template location.

parent 8a67454f
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment