Commit cd53d5bc authored by barth23's avatar barth23
Browse files

add heading + "not identified" (instead of unnamed)

parent 7ea07d73
......@@ -449,97 +449,97 @@
<word key="publicRegisterLink">
<lang key="de">Öffentliches Verzeichnis: </lang>
<lang key="en">Public Register Link: </lang>
<lang key="fr">Référentiel : </lang>
<lang key="fr">Référentiel: </lang>
</word>
<word key="registerNationality">
<lang key="de">Nationalität: </lang>
<lang key="en">Nationality: </lang>
<lang key="fr">Nationalité : </lang>
<lang key="fr">Nationalité: </lang>
</word>
<word key="registerFunction">
<lang key="de">Funktionen: </lang>
<lang key="en">Function: </lang>
<lang key="fr">Fonction(s) : </lang>
<lang key="fr">Fonction(s): </lang>
</word>
<word key="registerBirthdate">
<lang key="de">Geburtsdatum: </lang>
<lang key="en">Birthdate: </lang>
<lang key="fr">Date de naissance : </lang>
<lang key="fr">Date de naissance: </lang>
</word>
<word key="registerBirthplace">
<lang key="de">Geburtsort: </lang>
<lang key="en">Birthplace: </lang>
<lang key="fr">Lieu de naissance : </lang>
<lang key="fr">Lieu de naissance: </lang>
</word>
<word key="registerDeathdate">
<lang key="de">Sterbedatum: </lang>
<lang key="en">Deathdate: </lang>
<lang key="fr">Date de décès : </lang>
<lang key="fr">Date de décès: </lang>
</word>
<word key="registerDeathplace">
<lang key="de">Sterbeort: </lang>
<lang key="en">Deathplace: </lang>
<lang key="fr">Lieu de décès : </lang>
<lang key="fr">Lieu de décès: </lang>
</word>
<word key="registerType">
<lang key="de">Kategorie: </lang>
<lang key="en">Type: </lang>
<lang key="fr">Catégorie : </lang>
<lang key="fr">Catégorie: </lang>
</word>
<word key="registerPlaceNameCurrent">
<lang key="de">Aktueller Ortsname: </lang>
<lang key="en">PlaceName (current): </lang>
<lang key="fr">Nom actuel : </lang>
<lang key="fr">Nom actuel: </lang>
</word>
<word key="registerPlaceNameHistorical">
<lang key="de">Historischer Ortsname: </lang>
<lang key="en">PlaceName (historical): </lang>
<lang key="fr">Nom historique : </lang>
<lang key="fr">Nom historique: </lang>
</word>
<word key="registerState">
<lang key="de">Zustand: </lang>
<lang key="en">State: </lang>
<lang key="fr">État actuel : </lang>
<lang key="fr">État actuel: </lang>
</word>
<word key="registerArtist">
<lang key="de">Künstler/Autor(en): </lang>
<lang key="en">Artist: </lang>
<lang key="fr">Artiste(s)/Auteur(s) : </lang>
<lang key="fr">Artiste(s)/Auteur(s): </lang>
</word>
<word key="registerConstruction">
<lang key="de">Chronologie: </lang>
<lang key="en">Construction: </lang>
<lang key="fr">Chronologie : </lang>
<lang key="fr">Chronologie: </lang>
</word>
<word key="registerLocation">
<lang key="de">Geolokalisation: </lang>
<lang key="en">Location: </lang>
<lang key="fr">Géolocalisation : </lang>
<lang key="fr">Géolocalisation: </lang>
</word>
<word key="registerDate">
<lang key="de">Datum: </lang>
<lang key="en">Date: </lang>
<lang key="fr">Date(s) : </lang>
<lang key="fr">Date(s): </lang>
</word>
<word key="registerMaterial">
<lang key="de">Material und Technik: </lang>
<lang key="en">Material: </lang>
<lang key="fr">Matières et techniques : </lang>
<lang key="fr">Matières et techniques: </lang>
</word>
<word key="registerDimensions">
<lang key="de">Maße: </lang>
<lang key="en">Dimensions: </lang>
<lang key="fr">Dimensions : </lang>
<lang key="fr">Dimensions: </lang>
</word>
<word key="registerLocationCurrent">
<lang key="de">Aktueller Aufbewahrungsort: </lang>
<lang key="en">Dimensions: </lang>
<lang key="fr">Localisation actuelle : </lang>
<lang key="fr">Localisation actuelle: </lang>
</word>
<word key="registerLocationFormer">
<lang key="de">Ehemaliger Aufbewahrungsort: </lang>
<lang key="en">Dimensions: </lang>
<lang key="fr">Localisation ancienne : </lang>
<lang key="fr">Localisation ancienne: </lang>
</word>
<word key="citationRecommendation">
<lang key="de">Zitationsempfehlung für diese Edition</lang>
......@@ -587,8 +587,8 @@
<lang key="fr">autre</lang>
</word>
<word key="button_unnamed">
<lang key="de">unbenannt</lang>
<lang key="en">unnamed</lang>
<lang key="fr">sans nom</lang>
<lang key="de">nicht identifiziert</lang>
<lang key="en">not identified</lang>
<lang key="fr">non identifié</lang>
</word>
</translation>
\ No newline at end of file
......@@ -32,6 +32,14 @@ else if ($button_parameter = "places") then doc("/db/apps/sade-architrave/templa
else if ($button_parameter = "works") then doc("/db/apps/sade-architrave/templates/register/works.xml")//tei:item/tei:name[@xml:lang=$language]
else();
(:
declare variable $Text4notIdentified :=
if ($button_parameter = "persons") then <span data-template="lang:translate" data-template-content="unidentifiedPerson"/>
else if ($button_parameter = "places") then <span data-template="lang:translate" data-template-content="unidentifiedPlace"/>
else if ($button_parameter = "works") then <span data-template="lang:translate" data-template-content="unidentifiedWork"/>
else();
:)
declare variable $entityClass :=
if ($button_parameter = "persons") then "persName"
......@@ -66,10 +74,7 @@ else "^[" || $letter_value || "]";
<div>
<ul>
{
if ($letter_value = "button_unnamed") then <h2 style="margin-bottom: 5rem;"></h2>
else <h2>{string($letter_text)}</h2>
}
<h2>{string($letter_text)}</h2>
{
if ($letter_value = "button_unnamed") then
......@@ -88,6 +93,7 @@ if ($letter_value = "button_unnamed") then
attribute href {"#/"},
attribute onclick {$openEntity || "('" || $entityAbbr || ":" || data($entityElements[$pos]/@xml:id) || "')"},
attribute textgriduri {"('" || $entityAbbr || ":" || data($entityElements[$pos]/@xml:id) || "')"},
(: $Text4notIdentified :)
string($letter_text)
}
}
......@@ -108,7 +114,7 @@ else
attribute href {"#/"},
attribute onclick {$openEntity || "('" || $entityAbbr || ":" || $tgUri || "')"},
attribute textgriduri {"('" || $entityAbbr || ":" || $tgUri || "')"},
$EntityName
$EntityName
}
}
}
......
......@@ -26,7 +26,7 @@
li { margin-bottom: 10px; }
.btn-group > .btn:not(:first-child),
.btn-group &gt; .btn:not(:first-child),
.btn-group:not(:first-child) {
margin-left: 0px; }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment