Skip to content

Commit

Permalink
Fix port from showing in identifier, and add descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosiel committed Mar 2, 2023
1 parent afdffd2 commit 48e242a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/sync/context.context.citation_select_block.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
label: 'Citation Select Block'
name: citation_select_block
group: Display
description: 'On an Islandora nodes (except Collections), show Citation Select Block'
description: 'If an Islandora node, and not a Collection, show Citation Select Block'
requireAllConditions: true
disabled: false
conditions:
Expand Down
2 changes: 1 addition & 1 deletion config/sync/context.context.display_oai_pmh_item_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
label: 'Display OAI-PMH Item Links'
name: display_oai_pmh_item_links
group: Display
description: 'If a Repository Item, show OAI-PMH Item Record Links'
description: 'If an Islandora node, and not a Collection, show OAI-PMH Item Record Links (MODS, DC)'
requireAllConditions: true
disabled: false
conditions:
Expand Down
2 changes: 1 addition & 1 deletion config/sync/views.view.oai_pmh_item_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies:
id: oai_pmh_item_data
label: 'OAI-PMH Item Data'
module: views
description: ''
description: 'Generate data used to populate the OAI-PMH MODS Twig Template.'
tag: ''
base_table: search_api_index_default_solr_index
base_field: search_api_id
Expand Down
17 changes: 14 additions & 3 deletions config/sync/views.view.oai_pmh_item_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
id: oai_pmh_item_links
label: 'OAI-PMH Item Links'
module: views
description: ''
description: 'Provide links to MODS and DC serializations of a node.'
tag: ''
base_table: node_field_data
base_field: nid
Expand All @@ -35,7 +35,7 @@ display:
exclude: false
alter:
alter_text: true
text: "{% set host = url('<front>')|first|raw|replace({ 'https:': \"\", '/': \"\" }) %}\r\n<a href=\"/oai/request?identifier=oai%3A{{ host }}%3Anode-{{ nid }}&metadataPrefix=mods&verb=GetRecord\">Display MODS Record</a><br> \r\n<a href=\"/oai/request?identifier=oai%3A{{ host }}%3Anode-{{ nid }}&metadataPrefix=oai_dc&verb=GetRecord\">Display DC Record</a>"
text: "{% set host = url('<front>')|first|replace({ 'http:': '', 'https:': '', '/': ''})|split(':')|first %}\r\n<a href=\"/oai/request?identifier=oai%3A{{ host }}%3Anode-{{ nid }}&metadataPrefix=mods&verb=GetRecord\">{{ 'Display MODS Record'|t }}</a><br> \r\n<a href=\"/oai/request?identifier=oai%3A{{ host }}%3Anode-{{ nid }}&metadataPrefix=oai_dc&verb=GetRecord\">{{ 'Display DC Record'|t }}</a>"
make_link: false
path: ''
absolute: false
Expand Down Expand Up @@ -193,7 +193,18 @@ display:
display_plugin: block
position: 1
display_options:
display_extenders: { }
display_extenders:
matomo:
enabled: false
keyword_gets: ''
keyword_behavior: first
keyword_concat_separator: ' '
category_behavior: none
category_gets: ''
category_concat_separator: ' '
category_fallback: ''
category_facets: { }
category_facets_concat_separator: ', '
cache_metadata:
max-age: -1
contexts:
Expand Down

0 comments on commit 48e242a

Please sign in to comment.