diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2017-10-15 10:38:30 +0300 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2017-10-15 10:38:30 +0300 |
commit | 7913b094b7b50fba562917a530bc04df81e51fe1 (patch) | |
tree | c1f97c6925fd113b2f4bc7bd6fcc49ae533efcce /tmpl | |
parent | 293606d2b1fc51b2a22b90fbcf30013eda63db1e (diff) |
scrap tagLineBreak option
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/terms.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tmpl/terms.html b/tmpl/terms.html index eaae7384..7a464cba 100644 --- a/tmpl/terms.html +++ b/tmpl/terms.html @@ -1,6 +1,6 @@ {{#*inline "definition"}} {{#if definitionTags}} -<div {{#unless tagLineBreak}}style="display: inline-block;"{{/unless}}> +<div {{#if compactGlossaries}}style="display: inline-block;"{{/if}}> {{#each definitionTags}} <span class="label label-default tag-{{category}}" title="{{notes}}">{{name}}</span> {{/each}} @@ -100,24 +100,24 @@ {{#if definitions.[1]}} <ol> {{#each definitions}} - <li>{{> definition tagLineBreak=../tagLineBreak compactGlossaries=../compactGlossaries}}</li> + <li>{{> definition compactGlossaries=../compactGlossaries}}</li> {{/each}} </ol> {{else}} - {{> definition definitions.[0] tagLineBreak=tagLineBreak compactGlossaries=compactGlossaries}} + {{> definition definitions.[0] compactGlossaries=compactGlossaries}} {{/if}} {{else if merged}} {{#if definitions.[1]}} <ol> {{#each definitions}} - <li>{{> definition tagLineBreak=../tagLineBreak compactGlossaries=../compactGlossaries}}</li> + <li>{{> definition compactGlossaries=../compactGlossaries}}</li> {{/each}} </ol> {{else}} - {{> definition definitions.[0] tagLineBreak=tagLineBreak compactGlossaries=compactGlossaries}} + {{> definition definitions.[0] compactGlossaries=compactGlossaries}} {{/if}} {{else}} - {{> definition tagLineBreak=tagLineBreak compactGlossaries=compactGlossaries}} + {{> definition compactGlossaries=compactGlossaries}} {{/if}} </div> @@ -130,7 +130,7 @@ {{#if definitions}} {{#each definitions}} {{#unless @first}}<hr>{{/unless}} -{{> term debug=../debug grouped=../grouped merged=../merged addable=../addable playback=../playback tagLineBreak=../tagLineBreak compactGlossaries=../compactGlossaries}} +{{> term debug=../debug grouped=../grouped merged=../merged addable=../addable playback=../playback compactGlossaries=../compactGlossaries}} {{/each}} {{else}} <p class="note">No results found.</p> |