Development
This commit is contained in:
parent
6ebf7027fd
commit
d0fc0f7de7
1 changed files with 1 additions and 2 deletions
|
|
@ -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}')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue