Move authors metadata to macro
This commit is contained in:
parent
428bd78152
commit
8a5c3f40b0
3 changed files with 19 additions and 31 deletions
|
@ -132,21 +132,7 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/co
|
|||
</div>
|
||||
</#if>
|
||||
|
||||
<#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>
|
||||
<@authors_metadata />
|
||||
|
||||
<@documentRubrics />
|
||||
|
||||
|
|
|
@ -108,21 +108,7 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/co
|
|||
</div>
|
||||
</#if>
|
||||
|
||||
|
||||
<#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>
|
||||
<@authors_metadata />
|
||||
|
||||
<@documentRubrics />
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
<@arrangeLiterature bibliography bibliography?size order.elenphExcerpt />
|
||||
</div>
|
||||
</#if>
|
||||
</div> <#-- articleExcerpt -->
|
||||
</div>
|
||||
</#list>
|
||||
</div>
|
||||
<@arrangeSources works works?size />
|
||||
|
@ -111,6 +111,22 @@
|
|||
</#macro>
|
||||
|
||||
|
||||
<#macro authors_metadata>
|
||||
<#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>
|
||||
</#macro>
|
||||
|
||||
|
||||
<#macro authors_underline>
|
||||
|
|
Loading…
Add table
Reference in a new issue