Skip to content

Commit

Permalink
Merge branch 'EMC-341_hide_facet_search' into 'develop'
Browse files Browse the repository at this point in the history
hide facet search, fix schema.org error

Closes EMC-341

See merge request eip/catalogue!755
  • Loading branch information
hkhan38 committed Oct 31, 2024
2 parents 0449a29 + 87df738 commit f7c6951
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/rdf/_body.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</#if>

<#if observedProperty?has_content>
<https://schema.org/variableMeasured> <@keywordList observedProperty/> ;
sdo:variableMeasured <@keywordList observedProperty/> ;
</#if>

<#if funding?has_content>
Expand Down
1 change: 1 addition & 0 deletions templates/rdf/_prefixes.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX odrs: <http://schema.theodi.org/odrs#>
PREFIX sosa: <http://www.w3.org/ns/sosa/>
PREFIX sdo: <https://schema.org/>
PREFIX ef: <http://www.w3.org/2015/03/inspire/ef#>
2 changes: 1 addition & 1 deletion templates/schema.org/schema.org.ftlh
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
<#list incomingCitations as citation>
{
"@type": "CreativeWork"
<#if citation.description?has_content>,"creditText": "${citation.description?trim}"</#if>
<#if citation.description?has_content>,"creditText": "${citation.description?replace("\n", " ")?trim}"</#if>
<#if citation.url?has_content>,"url": "${citation.url?trim}"</#if>
}<#sep>,</#sep>
</#list>
Expand Down
6 changes: 5 additions & 1 deletion web/less/search.less
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ main {
padding: 1em;
}

.form-control.search-facet { opacity: 85%;position:sticky; top:0;
.form-control.search-facet {
display:none;
opacity: 85%;
position: sticky;
top: 0;
}
}
}
Expand Down

0 comments on commit f7c6951

Please sign in to comment.