projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extend targets-template comment to note that we have the "name" field.
[mkws-moved-to-github.git]
/
src
/
templates
/
facet.handlebars
diff --git
a/src/templates/facet.handlebars
b/src/templates/facet.handlebars
index
22877f3
..
9307b96
100644
(file)
--- a/
src/templates/facet.handlebars
+++ b/
src/templates/facet.handlebars
@@
-6,13
+6,12
@@
caption - caption for this facet
terms:
term - term name
count - count of items matching in the current search for this team
terms:
term - term name
count - count of items matching in the current search for this team
- linkdata - attributes to add to the term element including an onclick handler
- field - for the xtargets facet ONLY, the opaque identifier of the target
+ href - link for facet
}}
<div class="mkws-facet-title mkwsFacetTitle">{{{mkws-translate caption}}}</div>
{{#each terms}}
<div class="mkws-term mkwsTerm">
}}
<div class="mkws-facet-title mkwsFacetTitle">{{{mkws-translate caption}}}</div>
{{#each terms}}
<div class="mkws-term mkwsTerm">
- <a href="#" {{{linkdata}}}>{{term}}</a> <span>{{count}}</span>
+ <a href="{{href}}">{{term}}</a> <span>{{count}}</span>
</div>
{{/each}}
</div>
{{/each}}