Buttons to add Bibliography and Works
This commit is contained in:
parent
13ddaad34d
commit
ec75b995c4
1 changed files with 5 additions and 5 deletions
|
@ -105,7 +105,7 @@
|
|||
</#if>
|
||||
|
||||
<#assign author = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#author")!>
|
||||
<#if author?has_content >
|
||||
<#if author?has_content || editable >
|
||||
<div class="label">Авторы: <@p.addLink author editable /> <@p.verboseDisplay author /> </div>
|
||||
<#if author.statements?has_content && author.type == "data">
|
||||
<div class="author" style="list-style:none;">
|
||||
|
@ -151,19 +151,19 @@
|
|||
</#if>
|
||||
|
||||
<#assign works = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#works")!>
|
||||
<#if works.statements?has_content && works.type == "data">
|
||||
<#if works.statements?has_content || editable >
|
||||
<br/>
|
||||
<div class="works" style="list-style:none;">
|
||||
<h2 class="label">Работы:</h2>
|
||||
<h2 class="label">Работы: <@p.addLink works editable /> <@p.verboseDisplay works /></h2>
|
||||
<@p.dataPropertyList works editable />
|
||||
</div>
|
||||
</#if>
|
||||
|
||||
<#assign biblio= propertyGroups.pullProperty("https://litvinovg.pro/text_structures#bibliography")!>
|
||||
<#if biblio.statements?has_content && biblio.type == "data">
|
||||
<#if biblio.statements?has_content || editable >
|
||||
<br/>
|
||||
<div class="biblio" style="list-style:none;">
|
||||
<h2 class="label">Литература:</h2>
|
||||
<h2 class="label">Литература: <@p.addLink biblio editable /> <@p.verboseDisplay biblio /></h2>
|
||||
<@p.dataPropertyList biblio editable />
|
||||
</div>
|
||||
</#if>
|
||||
|
|
Loading…
Add table
Reference in a new issue