VIVO-341: new custom form et all for preferred title
This commit is contained in:
parent
55d59190e5
commit
0f3a4653ab
9 changed files with 278 additions and 6 deletions
|
@ -863,4 +863,7 @@ no_linked_author = no linked editor
|
|||
remove_editor_link = remove editor link
|
||||
add_an_editor = Add an Editor
|
||||
add_editor = Add Editor
|
||||
please_select_type = Please select a type from the drop-down list.
|
||||
please_select_type = Please select a type from the drop-down list.
|
||||
preferred_title = Preferred Title
|
||||
preferred_title_for = preferred title for
|
||||
enter_preferred_title = Please enter a value in the Preferred Title field.
|
||||
|
|
|
@ -67,12 +67,12 @@
|
|||
<span class="fn"><@p.label individual editable labelCount localesCount/></span>
|
||||
|
||||
<#-- Display preferredTitle if it exists; otherwise mostSpecificTypes -->
|
||||
<#assign title = propertyGroups.pullProperty("${core}preferredTitle")!>
|
||||
<#assign title = propertyGroups.pullProperty("http://purl.obolibrary.org/obo/ARG_2000028","http://www.w3.org/2006/vcard/ns#Title")!>
|
||||
<#if title?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
||||
<@p.addLinkWithLabel title editable />
|
||||
<#list title.statements as statement>
|
||||
<span class="display-title">${statement.value}</span>
|
||||
<@p.editingLinks "${title.name}" "" statement editable />
|
||||
<span class="display-title">${statement.preferredTitle}</span>
|
||||
<@p.editingLinks "${title.localName}" "${title.name}" statement editable />
|
||||
</#list>
|
||||
</#if>
|
||||
<#-- If preferredTitle is unpopulated, display mostSpecificTypes -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue