Added metadata switch button on compilation page.
This commit is contained in:
parent
e04cbce072
commit
588552eecd
3 changed files with 22 additions and 11 deletions
3
webapp/src/main/webapp/themes/iph/images/check-icon.svg
Normal file
3
webapp/src/main/webapp/themes/iph/images/check-icon.svg
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<svg width="16" height="12" viewBox="0 0 16 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M2 5L7.5 10.5L14 2" stroke="#8B4513" stroke-width="2.5" stroke-linecap="square" stroke-linejoin="round"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 218 B |
|
@ -72,16 +72,20 @@ ${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="articleButtons">
|
<div class="metadataSwitch">
|
||||||
<span id="iconControlsRightSide" class="<#if editable>iconControlsEditable<#else>iconControlsNotEditable</#if>" <#if !user.hasSiteAdminAccess></#if>>
|
<@expandMetadataSwitch />
|
||||||
<#include "individual-iconControls-iph.ftl">
|
</div>
|
||||||
</span>
|
<div class="toolsWrapper">
|
||||||
|
<div class="articleButtons">
|
||||||
|
<span id="iconControlsRightSide" class="<#if editable>iconControlsEditable<#else>iconControlsNotEditable</#if>" <#if !user.hasSiteAdminAccess></#if>>
|
||||||
|
<#include "individual-iconControls-iph.ftl">
|
||||||
|
</span>
|
||||||
|
|
||||||
<#if editable && profilePageTypesEnabled >
|
<#if editable && profilePageTypesEnabled >
|
||||||
<#include "individual-profilePageTypes.ftl">
|
<#include "individual-profilePageTypes.ftl">
|
||||||
</#if>
|
</#if>
|
||||||
<button id="print"><img onclick="javascript:printPageContent();" src="${urls.base}/themes/iph/images/print.svg"></button>
|
<button id="print"><img onclick="javascript:printPageContent();" src="${urls.base}/themes/iph/images/print.svg"></button>
|
||||||
</div>
|
</div>
|
||||||
<@expandSwitch />
|
<@expandSwitch />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -130,7 +134,10 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
</#if>
|
</#if>
|
||||||
|
<div class="metaDataName collapsible collapsed">
|
||||||
|
<div class="collapsibleLink" style="display:inline;">Метаданные</div>
|
||||||
|
</div>
|
||||||
|
<div class="autoMetadataExpand" style="display:none;">
|
||||||
<#assign firstPub = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#firstPublication")!>
|
<#assign firstPub = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#firstPublication")!>
|
||||||
<#if firstPub.statements?has_content && firstPub.type == "data">
|
<#if firstPub.statements?has_content && firstPub.type == "data">
|
||||||
<div class="firstPub" style="list-style:none;">
|
<div class="firstPub" style="list-style:none;">
|
||||||
|
@ -143,6 +150,7 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
|
||||||
<@authors_metadata />
|
<@authors_metadata />
|
||||||
|
|
||||||
<@documentRubrics />
|
<@documentRubrics />
|
||||||
|
</div>
|
||||||
|
|
||||||
<@arrangeDocumentParts />
|
<@arrangeDocumentParts />
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,7 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
|
||||||
<#if editable && profilePageTypesEnabled >
|
<#if editable && profilePageTypesEnabled >
|
||||||
<#include "individual-profilePageTypes.ftl">
|
<#include "individual-profilePageTypes.ftl">
|
||||||
</#if>
|
</#if>
|
||||||
<button id="print"><img onclick="javascript:printPageContent();" src="${urls.base}/themes/iph/images/print.svg"></button>
|
<button id="print"><img onclick="javascript:printPageContent();" src="${urls.base}/themes/iph/images/print.svg"></button>
|
||||||
</div>
|
</div>
|
||||||
<@expandSwitch />
|
<@expandSwitch />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue