Workaround for broken documents
This commit is contained in:
parent
a9885a9e7e
commit
eee56d606f
1 changed files with 6 additions and 1 deletions
|
@ -111,8 +111,13 @@
|
||||||
</#macro>
|
</#macro>
|
||||||
|
|
||||||
<#macro openDocPart count path >
|
<#macro openDocPart count path >
|
||||||
|
<#if excerptTextName??>
|
||||||
|
<#assign buttonText = excerptTextName >
|
||||||
|
<#else>
|
||||||
|
<#assign buttonText = "No text" >
|
||||||
|
</#if>
|
||||||
<#list 1..count as x>
|
<#list 1..count as x>
|
||||||
<button type="button" style="border:none;padding: 18px;width: 100%; text-align:left;" class="collapsible">${excerptTextName}</button>
|
<button type="button" style="border:none;padding: 18px;width: 100%; text-align:left;" class="collapsible">${buttonText}</button>
|
||||||
<div class="documentPart autoExpand articleExcerpt" id="anchor-${path}" style="display:block;">
|
<div class="documentPart autoExpand articleExcerpt" id="anchor-${path}" style="display:block;">
|
||||||
</#list>
|
</#list>
|
||||||
</#macro>
|
</#macro>
|
||||||
|
|
Loading…
Add table
Reference in a new issue