Be more explicit about template location.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user