diff --git a/java/src/main/java/uk/ac/ceh/gateway/catalogue/gemini/GeminiDocument.java b/java/src/main/java/uk/ac/ceh/gateway/catalogue/gemini/GeminiDocument.java index f5ce59180..f350ba629 100644 --- a/java/src/main/java/uk/ac/ceh/gateway/catalogue/gemini/GeminiDocument.java +++ b/java/src/main/java/uk/ac/ceh/gateway/catalogue/gemini/GeminiDocument.java @@ -47,7 +47,7 @@ public class GeminiDocument extends AbstractMetadataDocument implements WellKnow private Number version; private List alternateTitles, spatialRepresentationTypes, datasetLanguages, securityConstraints; - private List topicCategories, dataAttributes; + private List topicCategories, observedProperties; private List geometries; private List distributionFormats; private List descriptiveKeywords; diff --git a/java/src/main/resources/codelist.properties b/java/src/main/resources/codelist.properties index bb00d2fcf..d7edd5738 100644 --- a/java/src/main/resources/codelist.properties +++ b/java/src/main/resources/codelist.properties @@ -44,7 +44,7 @@ metadata.resourceType.sample = Sample metadata.resourceType.sampleArchive = Sample Archive metadata.resourceType.series = Series metadata.resourceType.service = Service -metadata.resourceType.signpost = Signpost +metadata.resourceType.signpost = Dataset metadata.resourceType.nercSignpost = Signpost metadata.resourceType.software = Software metadata.resourceType.thirdPartyDataset = Third-party dataset @@ -99,8 +99,8 @@ metadata.recordType.sample = Sample metadata.recordType.sampleArchive = Sample archive metadata.recordType.series = Data series metadata.recordType.service = Map (web service) -metadata.recordType.signpost = Dataset -metadata.recordType.nercSignpost = Signpost +metadata.recordType.signpost = Signpost +metadata.recordType.nercSignpost = Signpost metadata.recordType.software = Software metadata.recordType.thirdPartyDataset = Third-party dataset metadata.recordType.tile = Tile diff --git a/java/src/test/resources/uk/ac/ceh/gateway/catalogue/upload/simple/page.html b/java/src/test/resources/uk/ac/ceh/gateway/catalogue/upload/simple/page.html index 63ef2c7c0..dbb1b699c 100644 --- a/java/src/test/resources/uk/ac/ceh/gateway/catalogue/upload/simple/page.html +++ b/java/src/test/resources/uk/ac/ceh/gateway/catalogue/upload/simple/page.html @@ -21,7 +21,7 @@ -Test Catalogue +Test Catalogue - diff --git a/templates/html/document/_linked.ftlh b/templates/html/document/_linked.ftlh index 686ee07d0..f74acdcf1 100644 --- a/templates/html/document/_linked.ftlh +++ b/templates/html/document/_linked.ftlh @@ -6,7 +6,7 @@ - <#if resourceStatus?? && resourceStatus?has_content && resourceStatus != "Available" && resourceStatus != "Controlled" && resourceStatus != "Unknown" > - <#assign notificationIcon = "fa-circle-info"> - <#if resourceStatus == "Restricted" > - <#assign notificationIcon = "fa-triangle-exclamation "> - - + <#if permission.userCanEditRestrictedFields(metadata.catalogue) && metadata.catalogue == "eidc">
<#include "document/_metadataqualityAlert.ftlh"> @@ -166,8 +187,6 @@
- - <#if permission.userCanEditRestrictedFields(metadata.catalogue) && metadata.catalogue == "eidc">
@@ -184,10 +203,8 @@ Edit

- -
- <#include "document/_footer.ftlh"> -
+ + <#include "document/_footer.ftlh"> +<#assign catalogueid=""> + <#macro master title catalogue="" rdf="" schemaorg="" canonical="" searching=false can_edit_restricted=false containerClass="container" scripts=defaultScripts> +<#assign catalogueid=""> +<#if catalogue?has_content> + <#assign catalogueid= catalogue.id > + + <#compress> -data-catalogue=${catalogue.id}> + @@ -52,9 +59,9 @@ <#if catalogue?has_content> - ${catalogue.title} + ${catalogue.title} <#else> - UKCEH + UKCEH
\ No newline at end of file +
diff --git a/web/scripts/editor/src/templates/RelatedRecord.tpl b/web/scripts/editor/src/templates/RelatedRecord.tpl index 7ed1090d8..5300b824d 100644 --- a/web/scripts/editor/src/templates/RelatedRecord.tpl +++ b/web/scripts/editor/src/templates/RelatedRecord.tpl @@ -1,16 +1,6 @@
-
- -
-
- -
-
-
-
- -
-
+
+
-
-
-
- -
-
- +
+
+
+ +
+
-
+
\ No newline at end of file