Fix underline authors' list

This commit is contained in:
Georgy Litvinov 2021-03-03 15:00:38 +01:00
parent 3f36a7858c
commit 48fac9b610
3 changed files with 12 additions and 18 deletions

View file

@ -227,13 +227,7 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/co
</#if> </#if>
</div> </div>
<#if authors?? && authors?has_content> <@authors_underline />
<div class="authors" style="display:block;float:right; margin:15px;">
<#list authors as author>
<#if author.authorFamily??>${author.authorFamily}</#if>&nbsp;<#if author.authorInitials??>${author.authorInitials}</#if>
</#list>
</div>
</#if>
<#-- <@dumpAll /> --> <#-- <@dumpAll /> -->

View file

@ -120,7 +120,6 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/co
<br> <br>
<span style="color:rgba(0,0,0,0.54);">Адрес организации: <#if author.orgPostalCode??>${author.orgPostalCode},&nbsp;</#if>${author.orgAddress}&nbsp;</span> <span style="color:rgba(0,0,0,0.54);">Адрес организации: <#if author.orgPostalCode??>${author.orgPostalCode},&nbsp;</#if>${author.orgAddress}&nbsp;</span>
</#if> </#if>
</div> </div>
</#list> </#list>
</#if> </#if>
@ -198,15 +197,7 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/co
</div> </div>
</#if> </#if>
<#if authors?? && authors?has_content> <@authors_underline />
<div class="authors" style="display:block;">
<#list authors as author>
<#if author.authorFamily??>${author.authorFamily}</#if>&nbsp;<#if author.authorInitials??>${author.authorInitials}</#if>
</#list>
</div>
</#if>
<#-- <@dumpAll /> -->
<#assign selectedTemplate = "individual--foaf-person-2column.ftl" > <#assign selectedTemplate = "individual--foaf-person-2column.ftl" >

View file

@ -52,6 +52,15 @@
</#if> </#if>
</#macro> </#macro>
<#macro authors_underline>
<#if authors?? && authors?has_content>
<div class="authors" style="display:block;float:right; margin:15px;">
<#list authors as author>
<#if author.authorFamily??>${author.authorFamily?trim}<#if author.authorInitials??>&nbsp;${author.authorInitials?trim}</#if></#if><#sep>,
</#list>
</div>
</#if>
</#macro>
<#macro expandSettingsSwitch > <#macro expandSettingsSwitch >
<div class="expandSettingsSwitch"> <div class="expandSettingsSwitch">