recipes: restrict to-try page to editors, remove addedBy

- Gate page and API on rezepte_users group instead of any logged-in user
- Remove addedBy field from schema, API POST, and ToTryCard display
This commit is contained in:
2026-02-26 19:18:55 +01:00
parent 95300d223a
commit c9e3308965
4 changed files with 11 additions and 27 deletions
@@ -90,17 +90,6 @@
color: var(--nord4);
}
}
.footer {
font-size: 0.72rem;
color: var(--nord3);
margin-top: auto;
padding-top: 0.3em;
}
@media (prefers-color-scheme: dark) {
.footer {
color: var(--nord4);
}
}
.card-btn {
position: absolute;
top: 0.5em;
@@ -155,8 +144,5 @@
{#if item.notes}
<p class="notes">{item.notes}</p>
{/if}
<div class="footer">
{isEnglish ? 'Added by' : 'Hinzugefügt von'} {item.addedBy}
</div>
</div>
</div>