Modifications for fixed ontology

This commit is contained in:
Georgy Litvinov 2020-08-13 18:21:03 +02:00
parent 4bd5b3df21
commit 48636ef3ce
9 changed files with 58 additions and 49 deletions

View file

@ -29,7 +29,7 @@ ${scripts.add('<script async type="text/javascript" src="//cdn.plu.mx/widget-pop
</h1>
<#--
<#assign issue = propertyGroups.pullProperty("https://iph.ras.ru/text_structures#issue")!>
<#assign issue = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#issue")!>
<#if issue.statements?has_content && issue.type == "data">
<div class="issue" style="list-style:none;">
<div class="label">Выпуск</div>
@ -37,7 +37,7 @@ ${scripts.add('<script async type="text/javascript" src="//cdn.plu.mx/widget-pop
</div>
</#if>
<#assign year = propertyGroups.pullProperty("https://iph.ras.ru/text_structures#year")!>
<#assign year = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#year")!>
<#if year.statements?has_content && year.type == "data">
<div class="year" style="list-style:none;">
<div class="label">Год</div>
@ -52,7 +52,7 @@ ${scripts.add('<script async type="text/javascript" src="//cdn.plu.mx/widget-pop
<#list excerpts as excerptProperties>
<#if order.elenphExcerpt?has_content && excerptProperties.elenphExcerpt == order.elenphExcerpt>
<#if excerptProperties.property == "https://iph.ras.ru/text_structures#htmlExcerpt">
<#if excerptProperties.property == "https://litvinovg.pro/text_structures#htmlExcerpt">
<#assign excerptText = excerptProperties.value >
</#if>
<#if excerptProperties.property == "http://www.w3.org/2000/01/rdf-schema#label">

View file

@ -104,7 +104,7 @@
</div>
</#if>
<#assign author = propertyGroups.pullProperty("https://iph.ras.ru/text_structures#author")!>
<#assign author = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#author")!>
<#if author?has_content >
<div class="label">Авторы: <@p.addLink author editable /> <@p.verboseDisplay author /> </div>
<#if author.statements?has_content && author.type == "data">
@ -112,7 +112,7 @@
<@p.dataPropertyList author editable />
</#if>
</#if>
<#assign affiliation = propertyGroups.pullProperty("https://iph.ras.ru/text_structures#affiliation")!>
<#assign affiliation = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#affiliation")!>
<#if affiliation.statements?has_content && affiliation.type == "data">
<div class="affiliation" style="list-style:none;">
<div class="label">Аффилиация</div>
@ -129,7 +129,7 @@
</div>
</#if>
</#if>
<#assign keywords = propertyGroups.pullProperty("https://iph.ras.ru/text_structures#keywords")!>
<#assign keywords = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#keywords")!>
<#if keywords?has_content >
<div class="label">Ключевые слова: <@p.addLink keywords editable /> <@p.verboseDisplay keywords /> </div>
<#if keywords.statements?has_content && keywords.type == "data">
@ -138,7 +138,7 @@
</div>
</#if>
</#if>
<#assign htmlExcerpt = propertyGroups.pullProperty("https://iph.ras.ru/text_structures#htmlExcerpt")!>
<#assign htmlExcerpt = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#htmlExcerpt")!>
<#if htmlExcerpt?has_content >
<#if htmlExcerpt.statements?has_content && htmlExcerpt.type == "data">
<div class="htmlExcerpt" style="list-style:none;">
@ -150,7 +150,7 @@
</#if>
</#if>
<#assign works = propertyGroups.pullProperty("https://iph.ras.ru/text_structures#works")!>
<#assign works = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#works")!>
<#if works.statements?has_content && works.type == "data">
<br/>
<div class="works" style="list-style:none;">
@ -159,7 +159,7 @@
</div>
</#if>
<#assign biblio= propertyGroups.pullProperty("https://iph.ras.ru/text_structures#bibliography")!>
<#assign biblio= propertyGroups.pullProperty("https://litvinovg.pro/text_structures#bibliography")!>
<#if biblio.statements?has_content && biblio.type == "data">
<br/>
<div class="biblio" style="list-style:none;">

View file

@ -6,13 +6,13 @@
<#-- <@dumpAll /> -->
<div class="virtualArticlePart" style="display:none;">
<#list excerptInfo as excerptProperties>
<#if excerptProperties.property == "https://iph.ras.ru/text_structures#htmlExcerpt">
<#if excerptProperties.property == "https://litvinovg.pro/text_structures#htmlExcerpt">
<#assign excerptText = excerptProperties.value >
</#if>
<#if excerptProperties.property == "http://www.w3.org/2000/01/rdf-schema#label">
<#assign excerptTextName = excerptProperties.value >
</#if>
<#if excerptProperties.property == "https://iph.ras.ru/text_structures#author">
<#if excerptProperties.property == "https://litvinovg.pro/text_structures#author">
<#assign excerptAuthor = excerptProperties.value >
</#if>
</#list>
@ -26,12 +26,12 @@
</div>
</#if>
<#list excerptInfo as excerptProperties>
<#if excerptProperties.property == "https://iph.ras.ru/text_structures#works">
<#if excerptProperties.property == "https://litvinovg.pro/text_structures#works">
<div class="virtualArticleWork" style="display:none;">${excerptProperties.value}</div>
</#if>
</#list>
<#list excerptInfo as excerptProperties>
<#if excerptProperties.property == "https://iph.ras.ru/text_structures#bibliography">
<#if excerptProperties.property == "https://litvinovg.pro/text_structures#bibliography">
<div class="virtualArticleBibliography" style="display:none;">${excerptProperties.value}</div>
</#if>
</#list>