From 9546cef0ed5a6e2c2e677fb3dbbb8ff69f106a8e Mon Sep 17 00:00:00 2001 From: Peter Stadler Date: Fri, 15 Jan 2021 16:23:02 +0100 Subject: [PATCH] add tooltips to first set of symbols #378 --- catalogues/dictionary_de.xml | 5 ++++- catalogues/dictionary_en.xml | 5 ++++- resources/js/init.js | 3 ++- xsl/common_main.xsl | 12 +++++++++++- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/catalogues/dictionary_de.xml b/catalogues/dictionary_de.xml index 47139442b..c2fbc08cb 100644 --- a/catalogues/dictionary_de.xml +++ b/catalogues/dictionary_de.xml @@ -651,4 +651,7 @@ Zeile ca. ergänzt von den Herausgeber:innen - \ No newline at end of file + Gulden (Florin) + Circularsymbol + Pfund (Gewichtsmaß) + diff --git a/catalogues/dictionary_en.xml b/catalogues/dictionary_en.xml index aebb6f07a..7e7acf894 100644 --- a/catalogues/dictionary_en.xml +++ b/catalogues/dictionary_en.xml @@ -621,4 +621,7 @@ line approx. supplied by the editors - \ No newline at end of file + Guilder (Florin) + Circular letter symbol + Pound (mass) + diff --git a/resources/js/init.js b/resources/js/init.js index 704bb049f..033f0338c 100644 --- a/resources/js/init.js +++ b/resources/js/init.js @@ -749,8 +749,9 @@ function updatePage(params) { /* activate tooltips for jubilees on start page * as well as for Julian dates on person pages + * and symbols elsewhere in texts */ -$('.jubilee, .jul').tooltip(); +$('.jubilee, .jul, .symbol').tooltip(); /* Initialise select2 plugin for facets on index pages */ $('.allFilter select').facets(); diff --git a/xsl/common_main.xsl b/xsl/common_main.xsl index b340a16cf..75d34854a 100644 --- a/xsl/common_main.xsl +++ b/xsl/common_main.xsl @@ -20,6 +20,7 @@ + [◯ƒࡂ] @@ -211,7 +212,7 @@ - + @@ -238,6 +239,15 @@ + + + + tooltip + 0 + symbol + + +