{if [dokument-1:value] != "0"}
<div class="study-button">
<p class="text">[dokument-1 layout='false'] <span>(<i class="far fa-file-pdf"></i>):</span></p>
<a class="view-pdf" aria-label="Show PDF on screen" href="#" data-view="doc1-pdf-[id]" title="Dokument anzeigen"><i class="fas fa-eye fa-lg"></i></a>
<a class="download" aria-label="Download Document" href="/images/documents/[dokument-1:value]" title="Dokument downloaden" download><i class="fas fa-download fa-lg"></i></a>
<div id="doc1-pdf-[id]" class="doc-pdf">
{pdf=/images/documents/[dokument-1:value]|100%|300|native}
</div>
</div>
{/if}
<div id="doc1-pdf-[id]" class="doc-pdf">
<object type="application/pdf" data="images/documents/[dokument-1:value]" width="100%" height="600">
Es gibt kein pdf-Plugin, es kann <a download href="images/documents/[dokument-1:value]"> die pdf-Datei heruntergeladen werden.</a>
</object>
</div>