Skip to content

Commit

Permalink
Add canonical dataset section to all themes
Browse files Browse the repository at this point in the history
In the editor, add a section for identifying the authoritative dataset for the metadata record.
This was added to the metadataOverview.html template for all themes.

Related to NCEAS/metacatui#2542
  • Loading branch information
robyngit committed Nov 4, 2024
1 parent ef1eff0 commit edf1d2c
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,11 @@ <h5>Alternate Identifiers <i class="required-icon hidden" data-category="alterna
list any additional identifiers that can be used to locate or label the dataset here.</p>
<p class="notification" data-category="alternateIdentifier"></p>
</div>

<div class="canonical-id basic-text-container" data-category="canonicalDataset">
<h5>Canonical Dataset <i class="required-icon hidden" data-category="canonicalDataset"></i></h5>
<p class="subtle">If this dataset is essentially a duplicate of a version
stored elsewhere, provide the ID of the original dataset here. This must be a
DOI or URL</p>
<p class="notification" data-category="canonicalDataset"></p>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,11 @@ <h5>Alternate Identifiers <i class="required-icon hidden" data-category="alterna
list any additional identifiers that can be used to locate or label the dataset here.</p>
<p class="notification" data-category="alternateIdentifier"></p>
</div>

<div class="canonical-id basic-text-container" data-category="canonicalDataset">
<h5>Canonical Dataset <i class="required-icon hidden" data-category="canonicalDataset"></i></h5>
<p class="subtle">If this dataset is essentially a duplicate of a version
stored elsewhere, provide the ID of the original dataset here. This must be a
DOI or URL</p>
<p class="notification" data-category="canonicalDataset"></p>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,11 @@ <h5>Alternate Identifiers <i class="required-icon hidden" data-category="alterna
list any additional identifiers that can be used to locate or label the dataset here.</p>
<p class="notification" data-category="alternateIdentifier"></p>
</div>

<div class="canonical-id basic-text-container" data-category="canonicalDataset">
<h5>Canonical Dataset <i class="required-icon hidden" data-category="canonicalDataset"></i></h5>
<p class="subtle">If this dataset is essentially a duplicate of a version
stored elsewhere, provide the ID of the original dataset here. This must be a
DOI or URL</p>
<p class="notification" data-category="canonicalDataset"></p>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,11 @@ <h5>Alternate Identifiers <i class="required-icon hidden" data-category="alterna
list any additional identifiers that can be used to locate or label the dataset here.</p>
<p class="notification" data-category="alternateIdentifier"></p>
</div>

<div class="canonical-id basic-text-container" data-category="canonicalDataset">
<h5>Canonical Dataset <i class="required-icon hidden" data-category="canonicalDataset"></i></h5>
<p class="subtle">If this dataset is essentially a duplicate of a version
stored elsewhere, provide the ID of the original dataset here. This must be a
DOI or URL</p>
<p class="notification" data-category="canonicalDataset"></p>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,11 @@ <h5>Alternate Identifiers <i class="required-icon hidden" data-category="alterna
list any additional identifiers that can be used to locate or label the dataset here.</p>
<p class="notification" data-category="alternateIdentifier"></p>
</div>

<div class="canonical-id basic-text-container" data-category="canonicalDataset">
<h5>Canonical Dataset <i class="required-icon hidden" data-category="canonicalDataset"></i></h5>
<p class="subtle">If this dataset is essentially a duplicate of a version
stored elsewhere, provide the ID of the original dataset here. This must be a
DOI or URL</p>
<p class="notification" data-category="canonicalDataset"></p>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,11 @@ <h5>Alternate Identifiers <i class="required-icon hidden" data-category="alterna
list any additional identifiers that can be used to locate or label the dataset here.</p>
<p class="notification" data-category="alternateIdentifier"></p>
</div>

<div class="canonical-id basic-text-container" data-category="canonicalDataset">
<h5>Canonical Dataset <i class="required-icon hidden" data-category="canonicalDataset"></i></h5>
<p class="subtle">If this dataset is essentially a duplicate of a version
stored elsewhere, provide the ID of the original dataset here. This must be a
DOI or URL</p>
<p class="notification" data-category="canonicalDataset"></p>
</div>

0 comments on commit edf1d2c

Please sign in to comment.