Skip to content

Commit

Permalink
Merge pull request #2 from gbv/DFI-35_Klassifikation_FIV-Aspekte_anlegen
Browse files Browse the repository at this point in the history
add fiv_aspect
  • Loading branch information
PaulBorchert authored Dec 22, 2023
2 parents 15efddc + 3a8e7e3 commit 7e66d9e
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
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:modify>


Expand Down Expand Up @@ -39,6 +40,27 @@
</div>
</xed:repeat>
</xed:template>

<xed:template id="fiv_aspect.repeat">
<xed:repeat xpath="mods:classification[@authorityURI='http://reposis-test.gbv.de/dfi/classifications/fiv_aspect'][@displayLabel='FIVAspect']" 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_aspect" />
</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_aspect" />
</select>
</xed:bind>
</div>
<mir:help-pmud help-text="{i18n:project.help.fiv_aspect}" pmud="true" />
</div>
</xed:repeat>
</xed:template>

</xed:template>

33 changes: 33 additions & 0 deletions src/main/resources/classifications/fiv_aspect.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?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_aspect">
<label xml:lang="de" text="FIV-Aspekte" />
<categories>
<category ID="1756169519">
<label xml:lang="de" text="Institutioneller Rahmen internationaler Beziehungen" />
</category>
<category ID="1756184011">
<label xml:lang="de" text="Partnerschaft" />
</category>
<category ID="175617878X">
<label xml:lang="de" text="Kommunalpolitik" />
</category>
<category ID="1756156050">
<label xml:lang="de" text="Verwaltungstätigkeit/Verwaltungsberufe" />
</category>
<category ID="1756213704">
<label xml:lang="de" text="Berufsfortbildung" />
</category>
<category ID="1756235309">
<label xml:lang="de" text="Lebenslanges Lernen" />
</category>
<category ID="1756207143">
<label xml:lang="de" text="Politische Kultur" />
</category>
<category ID="1756230099">
<label xml:lang="de" text="Interkulturelle Kommunikation" />
</category>
<category ID="1756162557">
<label xml:lang="de" text="Interkulturelles Training" />
</category>
</categories>
</mycoreclass>
4 changes: 4 additions & 0 deletions src/main/resources/config/reposis_dfi/messages_de.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ project.layout.footer.technical
project.layout.footer.contact = Kontakt
browse.documents = Dokumente
project.complex.title = Erweiterte Suche
project.form.label.fiv_aspect = FIV Aspekte
project.form.label.fiv_subject = FIV Themen
project.help.fiv_aspect = Schlagwortvergabe (Aspekte) nach dem Thesaurus 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 @@ -15,4 +17,6 @@ editor.search.mir.pressarchive_classification
editor.search.mir.pressarchive_classification.tooltip = Klassifikation des dfi-Pressearchivs
editor.search.mir.press_organ = Presseorgan
editor.search.mir.press_organ.tooltip = Liste der Presseorgane
component.mods.metaData.dictionary.FIVAspect = FIV-Aspekte
component.mods.metaData.dictionary.FIVSubject = FIV-Themen

0 comments on commit 7e66d9e

Please sign in to comment.