Fix underline authors' list

This commit is contained in:
Georgy Litvinov 2021-03-03 15:00:38 +01:00
parent 88244a461d
commit d3328ebf96
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>
</div>
<#if authors?? && authors?has_content>
<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>
<@authors_underline />
<#-- <@dumpAll /> -->

View file

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

View file

@ -52,6 +52,15 @@
</#if>
</#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 >
<div class="expandSettingsSwitch">