Skip to content

Commit

Permalink
MIR 1366 fix npath to make keywords and geographic place visible in a…
Browse files Browse the repository at this point in the history
…dmin editor
  • Loading branch information
Antoniafriedrich committed Nov 5, 2024
1 parent 7be0c75 commit b3ae775
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1612,11 +1612,11 @@
</xed:template>

<xed:template id="geographic">
<mir:geographic.repeated path="mods:subject[not(mods:topic)]/mods:geographic" min="1" max="20" label="mir.geographic" help-text="{i18n:mir.help.cartographics.place}" />
<mir:geographic.repeated path="mods:subject[mods:geographic]/mods:geographic" min="1" max="20" label="mir.geographic" help-text="{i18n:mir.help.cartographics.place}" />
</xed:template>

<xed:template id="geographic.complex">
<mir:geographic.repeated path="mods:subject[not(mods:topic)]/mods:geographic" min="1" max="20" label="mir.geographic" help-text="{i18n:mir.help.cartographics.place}" extended="true" />
<mir:geographic.repeated path="mods:subject[mods:geographic]/mods:geographic" min="1" max="20" label="mir.geographic" help-text="{i18n:mir.help.cartographics.place}" extended="true" />
</xed:template>

<xed:template id="geographic.input">
Expand Down Expand Up @@ -1858,7 +1858,7 @@
</xed:template>

<xed:template id="subject.complex">
<xed:repeat xpath="mods:subject[not(mods:geographic)]" min="1" max="20">
<xed:repeat xpath="mods:subject[mods:topic]" min="1" max="20">
<fieldset>
<div class="row mir-fieldset-legend">
<legend class="col-md-9" style="margin-bottom:0px;padding-top:10px;">
Expand All @@ -1874,7 +1874,7 @@
</xed:template>

<xed:template id="subject.complex.required">
<xed:repeat xpath="mods:subject[not(mods:geographic)]" min="1" max="20">
<xed:repeat xpath="mods:subject[mods:topic]" min="1" max="20">
<fieldset>
<div class="row mir-fieldset-legend">
<legend class="col-md-9" style="margin-bottom:0px;padding-top:10px;">
Expand Down

0 comments on commit b3ae775

Please sign in to comment.