Skip to content

Commit

Permalink
DFI-38_Klassifikation FIV-Sachklassifikation anlegen
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulBorchert committed Dec 22, 2023
1 parent ab317f7 commit 0e369b3
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
https://cmswiki.rrz.uni-hamburg.de/hummel/MyCoRe/Organisation/AnwenderWorkshop2018?action=AttachFile&do=view&target=MyCoRe+XEditor+Erweiterungen+2018-11-14.pdf
https://cmswiki.rrz.uni-hamburg.de/hummel/MyCoRe/Organisation/AnwenderWorkshop2018?action=AttachFile&do=view&target=MCR-Workshop2018_Rochowski_XEditor_Erweiterungen_Praxis.pdf
-->
<xed:include ref="fiv_subject.repeat" before="sdnb.repeat"/>
<xed:include ref="fiv_aspect.repeat" before="sdnb.repeat"/>
<xed:include ref="fiv_country.repeat" before="sdnb.repeat"/>
<xed:include ref="fiv_subject.repeat" before="sdnb.repeat"/>
<xed:include ref="fiv_aspect.repeat" before="sdnb.repeat"/>
<xed:include ref="fiv_country.repeat" before="sdnb.repeat"/>
<xed:include ref="fiv_subjectclassification.repeat" before="sdnb.repeat"/>
</xed:modify>


Expand Down Expand Up @@ -64,7 +65,7 @@
</xed:template>

<xed:template id="fiv_country.repeat">
<xed:repeat xpath="mods:classification[@authorityURI='http://reposis-test.gbv.de/dfi/classifications/fiv_country'][@displayLabel='FIVAspect']" min="1" max="20" method="build" >
<xed:repeat xpath="mods:classification[@authorityURI='http://reposis-test.gbv.de/dfi/classifications/fiv_country'][@displayLabel='FIVCountry']" min="1" max="20" method="build" >
<div class="form-group row {$xed-validation-marker}">
<label class="col-md-3 col-form-label text-right">
<xed:output i18n="project.form.label.fiv_country" />
Expand All @@ -82,7 +83,27 @@
<mir:help-pmud help-text="{i18n:project.help.fiv_country}" pmud="true" />
</div>
</xed:repeat>

</xed:template>

<xed:template id="fiv_subjectclassification.repeat">
<xed:repeat xpath="mods:classification[@authorityURI='http://reposis-test.gbv.de/dfi/classifications/fiv_subjectclassification'][@displayLabel='FIVSubjectClassification']" min="1" max="20" method="build" >
<div class="form-group row {$xed-validation-marker}">
<label class="col-md-3 col-form-label text-right">
<xed:output i18n="project.form.label.fiv_subjectclassification" />
</label>
<div class="col-md-6">
<xed:bind xpath="@valueURIxEditor">
<select class="form-control form-control-inline">
<option value="">
<xed:output i18n="mir.select.optional" />
</option>
<xed:include uri="xslStyle:items2options:classification:editor:-1:children:fiv_subjectclassification" />
</select>
</xed:bind>
</div>
<mir:help-pmud help-text="{i18n:project.help.fiv_subjectclassification}" pmud="true" />
</div>
</xed:repeat>
</xed:template>

</xed:template>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<mycoreclass xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="MCRClassification.xsd" ID="fiv_subjectclassification">
<label xml:lang="de" text="FIV-Sachklassifikation" />
<categories>
<category ID="SB06">
<label xml:lang="de" text="SB06: Internationale(s) Politik/System / Transnationale Beziehungen/Bewegungen" />
</category>
</categories>
</mycoreclass>
3 changes: 3 additions & 0 deletions src/main/resources/config/reposis_dfi/messages_de.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ project.complex.title
project.form.label.fiv_aspect = FIV Aspekte
project.form.label.fiv_country = FIV Regionalklassifikation
project.form.label.fiv_subject = FIV Themen
project.form.label.fiv_subjectclassification = FIV Sachklassifikation
project.help.fiv_aspect = Schlagwortvergabe (Aspekte) nach dem Thesaurus des FIV
project.help.fiv_country = Regionalklassifikation des FIV
project.help.fiv_subjectclassification = Sachklassifikation des FIV
project.help.fiv_subject = Schlagwortvergabe nach dem Thesaurus des FIV
project.simple.title = Einfache Suche
editor.search.mir.language_classification = Sprache
Expand All @@ -22,4 +24,5 @@ editor.search.mir.press_organ.tooltip
component.mods.metaData.dictionary.FIVAspect = FIV-Aspekte
component.mods.metaData.dictionary.FIVCountry = FIV-Notation
component.mods.metaData.dictionary.FIVSubject = FIV-Themen
component.mods.metaData.dictionary.FIVSubjectClassification = FIV-Notation

0 comments on commit 0e369b3

Please sign in to comment.