updates to list view queries and constructs; includes fix for VIVO-399
This commit is contained in:
parent
55670d67dd
commit
48cf67e98a
20 changed files with 77 additions and 323 deletions
|
@ -22,7 +22,7 @@
|
|||
</#if>
|
||||
<#if statement.degreeLabel??>
|
||||
${statement.degreeAbbr!statement.degreeLabel!}
|
||||
<#if statement.dateTimeStart?? || statement.dateTimeEnd?? > ${i18n().candidate},<#else> ${i18n().candidate}</#if>
|
||||
<#if statement.dateTimeStart?? || statement.dateTimeEnd?? > ${i18n().candidacy},<#else> ${i18n().candidacy}</#if>
|
||||
</#if>
|
||||
<#elseif statement.advisingRelLabel??>
|
||||
<a href="${profileUrl(statement.uri("advisingRel"))}" title="${i18n().advisingRel_label}">${statement.advisingRelLabel!statement.localName}</a>
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
</#if>
|
||||
</#local>
|
||||
|
||||
${linkedIndividual} <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" />
|
||||
${linkedIndividual} <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" />
|
||||
</#macro>
|
|
@ -15,9 +15,9 @@
|
|||
|
||||
<#local linkedIndividual>
|
||||
<#if statement.award??>
|
||||
<a href="${profileUrl(statement.uri("award"))}" title="${i18n().award_name}">${statement.awardLabel!statement.localName!}</a>
|
||||
<a href="${profileUrl(statement.uri("award"))}" title="${i18n().award_name}">${statement.awardLabel!}</a>
|
||||
<#else>
|
||||
<a href="${profileUrl(statement.uri("awardReceipt"))}" title="${i18n().award_receipt_name}">${statement.receiptLabel!statement.localName!}</a>
|
||||
<a href="${profileUrl(statement.uri("awardReceipt"))}" title="${i18n().award_receipt_name}">${statement.receiptLabel!}</a>
|
||||
</#if>
|
||||
</#local>
|
||||
|
||||
|
|
|
@ -33,6 +33,6 @@
|
|||
</#if>
|
||||
</#local>
|
||||
|
||||
<@s.join [ degree, linkedIndividual!, statement.deptOrSchool!, statement.info! ] /> <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" false/>
|
||||
<@s.join [ degree, linkedIndividual!, statement.deptOrSchool!, statement.info! ] /> <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" false/>
|
||||
|
||||
</#macro>
|
||||
</#macro>
|
||||
|
|
|
@ -24,5 +24,5 @@
|
|||
</#local>
|
||||
|
||||
<#-- If property is collated, then subclass label is redundant information -->
|
||||
${linkedIndividual} <#if ! property.collatedBySubclass> (${statement.subclassLabel!})</#if> ${dateTime!}
|
||||
${linkedIndividual} <#if (! property.collatedBySubclass) && statement.subclassLabel?has_content> (${statement.subclassLabel!})</#if> ${dateTime!}
|
||||
</#macro>
|
Loading…
Add table
Add a link
Reference in a new issue