# HG changeset patch # User Thierry Florac # Date 1546591201 -3600 # Node ID 5e39ba665e50bb7d6f72ff533f86de6d98b1ba9c # Parent c8851f79e2a16e6675dff45f0aaf2b72e8a59fb2 Updated glossary templates diff -r c8851f79e2a1 -r 5e39ba665e50 src/pyams_default_theme/features/glossary/templates/glossary.pt --- a/src/pyams_default_theme/features/glossary/templates/glossary.pt Fri Jan 04 09:39:43 2019 +0100 +++ b/src/pyams_default_theme/features/glossary/templates/glossary.pt Fri Jan 04 09:40:01 2019 +0100 @@ -14,7 +14,8 @@
- ${term.alt or term.label} + ${term.alt or term.label}
diff -r c8851f79e2a1 -r 5e39ba665e50 src/pyams_default_theme/features/thesaurus/templates/associated-terms.pt --- a/src/pyams_default_theme/features/thesaurus/templates/associated-terms.pt Fri Jan 04 09:39:43 2019 +0100 +++ b/src/pyams_default_theme/features/thesaurus/templates/associated-terms.pt Fri Jan 04 09:40:01 2019 +0100 @@ -3,33 +3,38 @@
Term family: ${term.generic.alt or term.generic.label} + data-term="${term.generic.label}" + tal:omit-tag="term.status == 'archived'">${term.generic.alt or term.generic.label}
Specific terms: ${specific.alt or specific.label}, + data-term="${specific.label}" + tal:omit-tag="specific.status == 'archived'">${specific.alt or specific.label},
Associated terms: ${association.alt or association.label}, + data-term="${association.label}" + tal:omit-tag="association.status == 'archived'">${association.alt or association.label},
Synonyms: ${synonym.alt or synonym.label}, + data-term="${synonym.label}" + tal:omit-tag="synonym.status == 'archived'">${synonym.alt or synonym.label},
See: ${term.usage.alt or term.usage.label} + data-term="${term.usage.label}" + tal:omit-tag="term.usage.status == 'archived'">${term.usage.alt or term.usage.label}

\ No newline at end of file diff -r c8851f79e2a1 -r 5e39ba665e50 src/pyams_default_theme/features/thesaurus/templates/footer.pt --- a/src/pyams_default_theme/features/thesaurus/templates/footer.pt Fri Jan 04 09:39:43 2019 +0100 +++ b/src/pyams_default_theme/features/thesaurus/templates/footer.pt Fri Jan 04 09:40:01 2019 +0100 @@ -6,6 +6,6 @@ Note
- ${structure:tales:html(context.note, 'markdown')} + ${structure:tales:html(context.note, 'markdown;glossary')}
\ No newline at end of file diff -r c8851f79e2a1 -r 5e39ba665e50 src/pyams_default_theme/features/thesaurus/templates/header.pt --- a/src/pyams_default_theme/features/thesaurus/templates/header.pt Fri Jan 04 09:39:43 2019 +0100 +++ b/src/pyams_default_theme/features/thesaurus/templates/header.pt Fri Jan 04 09:40:01 2019 +0100 @@ -1,3 +1,3 @@
- ${structure:tales:html(context.definition, 'markdown')} + ${structure:tales:html(context.definition, 'markdown;glossary')}
\ No newline at end of file