diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-04-15 22:33:13 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-04-15 22:33:13 -0700 |
commit | aa288d524b94cda8bc15db9c40ea4e3dbd0c68db (patch) | |
tree | 970940fa45e332153f18d30eba100ccfe46e4a4c /util | |
parent | 77761a953876a22f08df20a503ca3de131cf3ac8 (diff) |
Styling
Diffstat (limited to 'util')
-rw-r--r-- | util/tmpl/term.html | 11 |
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}} « {{/unless}} + {{/each}} </div> +{{/if}} <div class="glossary"> <ol> {{#each glossary}} - <li>{{.}}</li> + <li><span>{{.}}</span></li> {{/each}} </ol> </div> |