added speech and speaker-speech export buttons

This commit is contained in:
Jonas Werner 2025-03-23 17:11:34 +01:00
parent 74c6666efa
commit 5472b4a75f
3 changed files with 32 additions and 0 deletions

View file

@ -296,3 +296,9 @@ select {
margin-bottom: 20px;
border-radius: 10px;
}
.export-button {
flex: 1;
flex-direction: row;
justify-content: center;
}

View file

@ -32,6 +32,18 @@
<div class="red-button centered-flex-button">
<a href="/reden/${p.id}">${speechesCount} Reden vorhanden</a>
</div>
<br>
<h2>Reden Export von allen Reden von ${p.vorname} ${p.nachname}</h2>
<div class="export-button centered-flex-button">
<div class="red-button centered-flex-button">
<a href="/export/pdf/speaker/${p.id}">PDF Export</a>
</div>
<br>
<div class="red-button centered-flex-button">
<a href="/export/xml/speaker/${p.id}">XML Export</a>
</div>
</div>
<#else>
Keine Reden vorhanden
</#if>

View file

@ -48,6 +48,20 @@
</#if>
<br>
<br>
<h2>Reden Export von dieser Rede</h2>
<div class="export-button centered-flex-button">
<div class="red-button centered-flex-button">
<a href="/export/pdf/speech/${s.speechKey}">PDF Export</a>
</div>
<br>
<div class="red-button centered-flex-button">
<a href="/export/xml/speech/${s.speechKey}">XML Export</a>
</div>
</div>
<br>
<br>
<#list s.content as c>
<#if sentimentIcons??>