diff --git a/app.py b/app.py index 603da3c..11f6487 100644 --- a/app.py +++ b/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') diff --git a/templates/admin/dashboard.html b/templates/admin/dashboard.html index 2730a67..2bbde8a 100644 --- a/templates/admin/dashboard.html +++ b/templates/admin/dashboard.html @@ -49,6 +49,7 @@ .paid,.delivered{background:#10b981;color:#000;} .pending,.prompt_ready{background:#60a5fa;color:#000;} .songs_uploaded{background:#a78bfa;color:#000;} + .revisions_requested{background:#f87171;color:#000;} .actions a{ color:#93c5fd; text-decoration:none; diff --git a/templates/admin/request.html b/templates/admin/request.html index acfc358..dbc24ee 100644 --- a/templates/admin/request.html +++ b/templates/admin/request.html @@ -7,11 +7,12 @@
@@ -108,35 +121,42 @@Notable facts:
{{ req.notable_facts or '-' }}
Style / genre:
{{ req.style_genre or '-' }}
Extra requests:
{{ req.extra_requests or '-' }}
{{ req.revision_note }}
+Paste Hermes' Title, Style, and Lyrics directly into the fields below, then save.
+ +Paste Hermes' Title, Style, and Lyrics directly into the fields below, then save.
- +Preview email: {% if req.preview_sent_at %} diff --git a/templates/player.html b/templates/player.html index 950357e..e7db9ca 100644 --- a/templates/player.html +++ b/templates/player.html @@ -85,7 +85,7 @@