Collapsible authors in elenph excerpts
This commit is contained in:
parent
7cf2df54a6
commit
a89315c6ae
1 changed files with 11 additions and 15 deletions
|
@ -3,6 +3,10 @@
|
|||
${scripts.add('<script async type="text/javascript" src="https://d1bxh8uas1mnw7.cloudfront.net/assets/embed.js"></script>')}
|
||||
${scripts.add('<script async type="text/javascript" src="//cdn.plu.mx/widget-popup.js"></script>')}
|
||||
${scripts.add('<script async type="text/javascript" src="${urls.base}/themes/iph/js/print.js"></script>')}
|
||||
${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/collapsible_elements.js"></script>')}
|
||||
${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/toc.js"></script>')}
|
||||
|
||||
|
||||
|
||||
<#-- Individual profile page template for foaf:Person individuals -->
|
||||
|
||||
|
@ -12,6 +16,8 @@ ${scripts.add('<script async type="text/javascript" src="${urls.base}/themes/iph
|
|||
<#-- <#include "individual-setup.ftl"> -->
|
||||
<#import "individual-qrCodeGenerator.ftl" as qr>
|
||||
<#import "lib-vivo-properties.ftl" as vp>
|
||||
<#include "text-lib.ftl">
|
||||
|
||||
<#--Number of labels present-->
|
||||
<#if !labelCount??>
|
||||
<#assign labelCount = 0 >
|
||||
|
@ -94,22 +100,9 @@ ${scripts.add('<script async type="text/javascript" src="${urls.base}/themes/iph
|
|||
<#assign skipThis = propertyGroups.pullProperty("http://xmlns.com/foaf/0.1/firstName")!>
|
||||
<#assign skipThis = propertyGroups.pullProperty("http://xmlns.com/foaf/0.1/lastName")!>
|
||||
</#if>
|
||||
<#if !editable>
|
||||
<#if authors??>
|
||||
<#list authors as author>
|
||||
<div class="affiliations" >
|
||||
<b><#if author.authorFamily??>${author.authorFamily} </#if><#if author.authorGivenName??>${author.authorGivenName}</#if></b>
|
||||
<#if author.orgName??>
|
||||
<br><span style="color:rgba(0,0,0,0.54);">${author.orgName}</span>
|
||||
</#if>
|
||||
<#if author.orgAddress??>
|
||||
<br>
|
||||
<span style="color:rgba(0,0,0,0.54);">Адрес организации: <#if author.orgPostalCode??>${author.orgPostalCode}, </#if>${author.orgAddress} </span>
|
||||
</#if>
|
||||
|
||||
</div>
|
||||
</#list>
|
||||
</#if>
|
||||
<#if !editable>
|
||||
<@authors_metadata />
|
||||
<#else>
|
||||
<#assign pubAuthors = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#hasAuthor")!>
|
||||
<#if pubAuthors?has_content>
|
||||
|
@ -121,6 +114,7 @@ ${scripts.add('<script async type="text/javascript" src="${urls.base}/themes/iph
|
|||
</#if>
|
||||
</#if>
|
||||
</#if>
|
||||
|
||||
<#if articles?has_content>
|
||||
<div class="label">В составе статей: </div>
|
||||
<div>
|
||||
|
@ -143,6 +137,7 @@ ${scripts.add('<script async type="text/javascript" src="${urls.base}/themes/iph
|
|||
</div>
|
||||
</#if>
|
||||
</#if>
|
||||
|
||||
<#assign keywords = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#keywords")!>
|
||||
<#if keywords?has_content >
|
||||
<div class="label">Ключевые слова: <@p.addLink keywords editable /> <@p.verboseDisplay keywords /> </div>
|
||||
|
@ -152,6 +147,7 @@ ${scripts.add('<script async type="text/javascript" src="${urls.base}/themes/iph
|
|||
</div>
|
||||
</#if>
|
||||
</#if>
|
||||
|
||||
<#assign htmlExcerpt = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#htmlExcerpt")!>
|
||||
<#if htmlExcerpt?has_content >
|
||||
<#if htmlExcerpt.statements?has_content && htmlExcerpt.type == "data">
|
||||
|
|
Loading…
Add table
Reference in a new issue