Fixed metadata information on Exerpt page.
This commit is contained in:
parent
7370700ec3
commit
b39a930982
2 changed files with 62 additions and 13 deletions
|
@ -2369,6 +2369,16 @@ span.subclassExpandMinus {
|
|||
.articleExcerpt >div.htmlExcerpt >p.Textbody {
|
||||
font-family: "IPH Astra Serif" !important;
|
||||
font-size: 1.3rem !important;
|
||||
padding-top: 10px!important;
|
||||
}
|
||||
.htmlExcerpt h1:first-child {
|
||||
display: none;
|
||||
}
|
||||
.htmlExcerpt h2:first-child {
|
||||
display: none;
|
||||
}
|
||||
.htmlExcerpt h3:first-child {
|
||||
display: none;
|
||||
}
|
||||
.htmlExcerpt >li >p.Textbody {
|
||||
font-family: "IPH Astra Serif" !important;
|
||||
|
@ -3033,9 +3043,6 @@ p.snippet >strong {
|
|||
padding-bottom: 5px;
|
||||
border-top: 1px solid #dde4e3;
|
||||
}
|
||||
.expandedContent li {
|
||||
padding: 5px;
|
||||
}
|
||||
.expandedContent a {
|
||||
font-family: "IPH Astra Serif";
|
||||
font-size: 1.2rem;
|
||||
|
@ -3147,6 +3154,25 @@ label.switch >#collapseTextControl >img {
|
|||
.wrapperExpandedKeywords > li:last-child {
|
||||
border-right: none;
|
||||
}
|
||||
.rubricsList {
|
||||
border-top: 1px solid #dde4e3;
|
||||
padding-left: 10px;
|
||||
padding-top: 10px;
|
||||
line-height: 1.7em;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.articleList {
|
||||
border-top: 1px solid #dde4e3;
|
||||
padding-left: 10px;
|
||||
padding-top: 10px;
|
||||
line-height: 1.7em;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.nonePubAuthors {
|
||||
padding-left: 40px;
|
||||
padding-bottom: 4px;
|
||||
padding-top: 4px;
|
||||
}
|
||||
/* -------------------------------------------------> */
|
||||
/* FONTS --------------------------------> */
|
||||
/* -------------------------------------------------> */
|
||||
|
|
|
@ -38,6 +38,8 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
|
|||
<section id="individual-info" ${infoClass!} role="region" style="width: 100%;">
|
||||
<#include "individual-adminPanel.ftl">
|
||||
<header>
|
||||
<div id="articleHeaderWrapper">
|
||||
<div id="articleTitleWrapper">
|
||||
<#if relatedSubject??>
|
||||
<h2>${relatedSubject.relatingPredicateDomainPublic} ${i18n().for} ${relatedSubject.name}</h2>
|
||||
<p><a href="${relatedSubject.url}" title="${i18n().return_to(relatedSubject.name)}">← ${i18n().return_to(relatedSubject.name)}</a></p>
|
||||
|
@ -69,12 +71,19 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
|
|||
<@p.mostSpecificTypesPerson individual editable/>
|
||||
</#if>
|
||||
</#if>
|
||||
<span id="iconControlsRightSide" class="<#if editable>iconControlsEditable<#else>iconControlsNotEditable</#if>" <#if !user.hasSiteAdminAccess>style="top:5px"</#if>>
|
||||
</div>
|
||||
<div class="articleToolsContainer">
|
||||
<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 >
|
||||
<#include "individual-profilePageTypes.ftl">
|
||||
</#if>
|
||||
<button id="print"><img onclick="javascript:printPageContent();" src="${urls.base}/themes/iph/images/print.svg"></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Positions -->
|
||||
<#include "individual-positions.ftl">
|
||||
|
@ -106,12 +115,22 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
|
|||
<#else>
|
||||
<#assign pubAuthors = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#hasAuthor")!>
|
||||
<#if pubAuthors?has_content>
|
||||
<div class="label">Авторы: <@p.addLink pubAuthors editable /> <@p.verboseDisplay pubAuthors /> </div>
|
||||
<div class="
|
||||
<#if pubAuthors.statements?has_content >
|
||||
collapsible collapsed
|
||||
<#else>
|
||||
nonePubAuthors
|
||||
</#if>
|
||||
">
|
||||
<div class="collapsibleLink" style="display:inline;">Авторы: <@p.addLink pubAuthors editable /> <@p.verboseDisplay pubAuthors /></div>
|
||||
</div>
|
||||
<div class="expandedAuthors" style="display:none;">
|
||||
<#if pubAuthors.statements?has_content >
|
||||
<div class="pubAuthors" style="list-style:none;">
|
||||
<@p.objectProperty pubAuthors editable />
|
||||
</div>
|
||||
</#if>
|
||||
</div>
|
||||
</#if>
|
||||
</#if>
|
||||
|
||||
|
@ -132,12 +151,16 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
|
|||
|
||||
<#assign rubrics = propertyGroups.pullProperty("https://iph.ras.ru/relationships#belongsTo")!>
|
||||
<#if rubrics?has_content>
|
||||
<div class="label">Относится к: <@p.addLink rubrics editable /> <@p.verboseDisplay rubrics /> </div>
|
||||
<div class="collapsible collapsed">
|
||||
<div class="collapsibleLink" style="display:inline;">Относится к рубрикам: <@p.addLink rubrics editable /> <@p.verboseDisplay rubrics /></div>
|
||||
</div>
|
||||
<div class="expandedRubrics" style="display:none;">
|
||||
<#if rubrics.statements?has_content >
|
||||
<div class="rubrics" style="list-style:none;">
|
||||
<div class="rubricsList" style="list-style:none;">
|
||||
<@p.objectProperty rubrics editable />
|
||||
</div>
|
||||
</#if>
|
||||
</div>
|
||||
</#if>
|
||||
|
||||
<#assign keywords = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#keywords")!>
|
||||
|
|
Loading…
Add table
Reference in a new issue