Skip to content

Commit

Permalink
Merge pull request #3 from Treggats/v0.3
Browse files Browse the repository at this point in the history
[V0.3] handlebar fixes
  • Loading branch information
fergiemcdowall committed Apr 18, 2013
2 parents 030989b + 7f515b4 commit 67b220d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions solrstrap.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,38 +32,38 @@


<!--Handlebars layout templates-->
<script type='text/javascript' id="hit-template">
<script type="text/x-handlebars-template" id="hit-template">
<div class="entry">
<b>{{title}}</b><br>
<strong>{{title}}</strong><br>
{{text}}
</div>
</script>
<script type='text/javascript' id="result-summary-template">
<script type="text/x-handlebars-template" id="result-summary-template">
<div id="result-summary">
{{totalresults}} results for <b><i>{{query}}</i></b>
{{totalresults}} results for <strong><i>{{query}}</i></strong>
</div>
</script>
<script type='text/javascript' id="nav-template">
<script type="text/x-handlebars-template" id="nav-template">
<div class="facet">
<span class="nav-title">{{title}}</span><br>
{{#each navs}}
<a href='{{../linkroot}}&fq={{../title}}:{{@key}}'>{{@key}}</a> ({{this}})<br/>
{{/each}}
</div>
</script>
<script type='text/javascript' id="chosen-nav-template">
<script type="text/x-handlebars-template" id="chosen-nav-template">
<div class="facet">
<span class="nav-title">Filters</span><br>
{{#each navs}}
<a class="close" href="{{this}}">&times;</a><a href='{{this}}' id="{{@key}}" class="selectedNav">{{@key}}</a><br>
<a class="close" href="{{this}}">&amp;times;</a><a href='{{this}}' id="{{@key}}" class="selectedNav">{{@key}}</a><br>
{{/each}}
</div>
</script>

<!--load scripts at the bottom-->
<script type='text/javascript' src="js/jquery.min.js"></script>
<script type='text/javascript' src="bootstrap/js/bootstrap.min.js"></script>
<script type='text/javascript' src="js/handlebars.js"></script>
<script type='text/javascript' src="js/jquery.min.js"></script>
<script type='text/javascript' src="js/solrstrap.js"></script>

</body>
Expand Down

0 comments on commit 67b220d

Please sign in to comment.