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,7 +72,11 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
|
|||
</#if>
|
||||
</div>
|
||||
<div class="articleToolsContainer">
|
||||
<div class="articleButtons">
|
||||
<div class="metadataSwitch">
|
||||
<@expandMetadataSwitch />
|
||||
</div>
|
||||
<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>
|
||||
|
@ -81,7 +85,7 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
|
|||
<#include "individual-profilePageTypes.ftl">
|
||||
</#if>
|
||||
<button id="print"><img onclick="javascript:printPageContent();" src="${urls.base}/themes/iph/images/print.svg"></button>
|
||||
</div>
|
||||
</div>
|
||||
<@expandSwitch />
|
||||
</div>
|
||||
</div>
|
||||
|
@ -130,7 +134,10 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
|
|||
</#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")!>
|
||||
<#if firstPub.statements?has_content && firstPub.type == "data">
|
||||
<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 />
|
||||
|
||||
<@documentRubrics />
|
||||
</div>
|
||||
|
||||
<@arrangeDocumentParts />
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue