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