Added metadata switch button.

This commit is contained in:
Svetlana Rastegina 2021-03-24 19:22:44 +01:00 committed by Georgy Litvinov
parent 79a619a6d5
commit 755ac5d01e

View file

@ -73,6 +73,10 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
</#if> </#if>
</div> </div>
<div class="articleToolsContainer"> <div class="articleToolsContainer">
<div class="metadataSwitch">
<@expandMetadataSwitch />
</div>
<div class="toolsWrapper">
<div class="articleButtons"> <div class="articleButtons">
<span id="iconControlsRightSide" class="<#if editable>iconControlsEditable<#else>iconControlsNotEditable</#if>" <#if !user.hasSiteAdminAccess></#if>> <span id="iconControlsRightSide" class="<#if editable>iconControlsEditable<#else>iconControlsNotEditable</#if>" <#if !user.hasSiteAdminAccess></#if>>
<#include "individual-iconControls-iph.ftl"> <#include "individual-iconControls-iph.ftl">
@ -109,7 +113,10 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
<#assign skipThis = propertyGroups.pullProperty("http://xmlns.com/foaf/0.1/firstName")!> <#assign skipThis = propertyGroups.pullProperty("http://xmlns.com/foaf/0.1/firstName")!>
<#assign skipThis = propertyGroups.pullProperty("http://xmlns.com/foaf/0.1/lastName")!> <#assign skipThis = propertyGroups.pullProperty("http://xmlns.com/foaf/0.1/lastName")!>
</#if> </#if>
<div class="metaDataName collapsible collapsed">
<div class="collapsibleLink" style="display:inline;">Метаданные</div>
</div>
<div class="autoMetadataExpand" style="display:none;">
<#if !editable> <#if !editable>
<@authors_metadata /> <@authors_metadata />
<#else> <#else>
@ -176,7 +183,7 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
</div> </div>
</div> </div>
</#if> </#if>
</div>
<#assign htmlExcerpt = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#htmlExcerpt")!> <#assign htmlExcerpt = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#htmlExcerpt")!>
<#if htmlExcerpt?has_content > <#if htmlExcerpt?has_content >
<#if htmlExcerpt.statements?has_content && htmlExcerpt.type == "data"> <#if htmlExcerpt.statements?has_content && htmlExcerpt.type == "data">