summaryrefslogtreecommitdiff
path: root/util/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-15 22:33:13 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-15 22:33:13 -0700
commitaa288d524b94cda8bc15db9c40ea4e3dbd0c68db (patch)
tree970940fa45e332153f18d30eba100ccfe46e4a4c /util/tmpl
parent77761a953876a22f08df20a503ca3de131cf3ac8 (diff)
Styling
Diffstat (limited to 'util/tmpl')
-rw-r--r--util/tmpl/term.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/util/tmpl/term.html b/util/tmpl/term.html
index bd414f26..62183e31 100644
--- a/util/tmpl/term.html
+++ b/util/tmpl/term.html
@@ -4,16 +4,19 @@
<div class="expression">{{expression}}</div>
{{/if}}
+{{#if rules}}
<div class="rules">
- {{#if rules}}
- {{rules}}
- {{/if}}
+ {{#each rules}}
+ {{.}}
+ {{#unless @last}} &laquo; {{/unless}}
+ {{/each}}
</div>
+{{/if}}
<div class="glossary">
<ol>
{{#each glossary}}
- <li>{{.}}</li>
+ <li><span>{{.}}</span></li>
{{/each}}
</ol>
</div>