leave internal bibliography and sources collapsed by default
This commit is contained in:
parent
4d25106578
commit
ab3236c270
1 changed files with 10 additions and 2 deletions
|
@ -132,7 +132,11 @@
|
|||
</#if>
|
||||
</button>
|
||||
</@compress>
|
||||
<div class="autoExpand documentPart works" id="anchor-${identifier}-sources" style="display:block;">
|
||||
<#if filter="none">
|
||||
<div class="autoExpand documentPart works" id="anchor-${identifier}-sources" style="display:block;">
|
||||
<#else>
|
||||
<div class="documentPart works" id="anchor-${identifier}-sources" style="display:block;">
|
||||
</#if>
|
||||
<#assign lastSource = ""/>
|
||||
<#list sources as source>
|
||||
<#if filter == "none" && lastSource != source.works || source.excerpt == filter >
|
||||
|
@ -158,7 +162,11 @@
|
|||
</#if>
|
||||
</button>
|
||||
</@compress>
|
||||
<div class="autoExpand documentPart bibliography" id="anchor-${identifier}-literature" style="display:block;">
|
||||
<#if filter="none">
|
||||
<div class="autoExpand documentPart bibliography" id="anchor-${identifier}-literature" style="display:block;">
|
||||
<#else>
|
||||
<div class="documentPart bibliography" id="anchor-${identifier}-literature" style="display:none;">
|
||||
</#if>
|
||||
<#assign lastLiterature = ""/>
|
||||
<#list literature as literatureItem>
|
||||
<#if filter == "none" && lastLiterature != literatureItem.bibliography || literatureItem.excerpt == filter >
|
||||
|
|
Loading…
Add table
Reference in a new issue