Fix: Ausweis öffnet neuen Tab (kein iframe), Mein Tierarzt im Praxen-Tab integriert, SW by-v599
This commit is contained in:
parent
5a412c425c
commit
2677cff882
4 changed files with 16 additions and 11 deletions
|
|
@ -157,7 +157,6 @@ window.Page_health = (() => {
|
|||
</button>
|
||||
</div>
|
||||
${transponderHtml}
|
||||
<div id="health-mein-tierarzt"></div>
|
||||
<div id="health-ki-berichte"></div>
|
||||
<div id="health-terminvorschlaege"></div>
|
||||
<div id="health-reminders"></div>
|
||||
|
|
@ -1690,12 +1689,24 @@ window.Page_health = (() => {
|
|||
`};
|
||||
|
||||
|
||||
const favCard = _favoritVet ? `
|
||||
<div style="margin-bottom:var(--space-4)">
|
||||
<div style="font-size:var(--text-xs);font-weight:600;color:var(--c-primary);
|
||||
text-transform:uppercase;letter-spacing:.05em;margin-bottom:var(--space-2)">
|
||||
${UI.icon('heart')} Mein Tierarzt
|
||||
</div>
|
||||
${renderCard(_favoritVet)}
|
||||
</div>` : '';
|
||||
|
||||
const ohneGesetzt = aktive.filter(p => p.id !== _favoritVet?.id);
|
||||
|
||||
return `
|
||||
<div style="display:flex;justify-content:flex-end;margin-bottom:var(--space-3)">
|
||||
${addBtn}
|
||||
</div>
|
||||
${favCard}
|
||||
<div class="health-list">
|
||||
${aktive.map(renderCard).join('')}
|
||||
${ohneGesetzt.map(renderCard).join('')}
|
||||
${inaktive.length ? `
|
||||
<div style="margin-top:var(--space-4);padding-top:var(--space-3);
|
||||
border-top:1px solid var(--c-border)">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue