Add revisions_requested status and visible revision note on admin detail page
This commit is contained in:
parent
cfb725144a
commit
2b960bd3d5
4 changed files with 49 additions and 27 deletions
3
app.py
3
app.py
|
|
@ -56,6 +56,7 @@ STATUS_LABELS = {
|
|||
'pending': 'Pending',
|
||||
'prompt_ready': 'Prompt Ready',
|
||||
'songs_uploaded': 'Songs Uploaded — Awaiting Approval',
|
||||
'revisions_requested': 'Revisions Requested',
|
||||
'awaiting_payment': 'Awaiting Payment',
|
||||
'paid': 'Paid',
|
||||
'delivered': 'Delivered',
|
||||
|
|
@ -235,7 +236,7 @@ def revise(token):
|
|||
if not req:
|
||||
abort(404)
|
||||
note = request.form.get('revision_note', '').strip()
|
||||
update_request(req['id'], revision_note=note, status='songs_uploaded')
|
||||
update_request(req['id'], revision_note=note, status='revisions_requested')
|
||||
|
||||
# NOTE: No operator email is sent; the dashboard is the single queue.
|
||||
flash('Your feedback has been saved. We will regenerate and update you.', 'success')
|
||||
|
|
|
|||
Reference in a new issue