Wiki: Bildrechte-Bestätigung bei Foto-Einreichung (Checkbox + DB + Mod-Badge), SW by-v363
This commit is contained in:
parent
de73c7901e
commit
d603b7bae1
6 changed files with 42 additions and 7 deletions
|
|
@ -173,6 +173,7 @@ async def mod_fotos(user=Depends(require_moderator)):
|
|||
try:
|
||||
rows = conn.execute("""
|
||||
SELECT s.id, s.rasse_slug, s.foto_url, s.created_at,
|
||||
COALESCE(s.rights_confirmed, 0) AS rights_confirmed,
|
||||
u.name AS user_name,
|
||||
r.name AS rasse_name, r.foto_url AS aktuell_foto
|
||||
FROM wiki_foto_submissions s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue