Development

This commit is contained in:
Matthew Grotke 2026-06-03 16:54:33 -04:00
parent 6ebf7027fd
commit d0fc0f7de7

View file

@ -89,6 +89,5 @@ def pending_dismiss():
with open(DASHBOARD_PENDING, 'w') as f: with open(DASHBOARD_PENDING, 'w') as f:
for u, t, c, usr in keep: for u, t, c, usr in keep:
f.write(f'{u} {t} [{c}] ({usr})\n') f.write(f'{u} {t} [{c}] ({usr})\n')
plural = 's' if len(dismissible) != 1 else '' flash('Pending changes dismissed.', 'success')
flash(f'{len(dismissible)} pending change{plural} dismissed.', 'success')
return redirect(f'/{_PAGE}') return redirect(f'/{_PAGE}')