Skip to content

Commit

Permalink
Initial improvements to the proposals recap screen (#3700)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoacierno authored Jan 29, 2024
1 parent 6446a92 commit 727fefb
Show file tree
Hide file tree
Showing 2 changed files with 295 additions and 117 deletions.
7 changes: 2 additions & 5 deletions backend/reviews/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,11 +395,7 @@ def _review_proposals_recap_view(self, request, review_session):

for proposal in proposals:
decision = decisions[proposal.id]

if decision == "accept":
proposal.status = Submission.STATUS.accepted
elif decision == "reject":
proposal.status = Submission.STATUS.rejected
proposal.status = decision

Submission.objects.bulk_update(
proposals,
Expand Down Expand Up @@ -466,6 +462,7 @@ def _review_proposals_recap_view(self, request, review_session):
review_session_id=review_session_id,
audience_levels=conference.audience_levels.all(),
review_session_repr=str(review_session),
all_statuses=[choice for choice in Submission.STATUS],
title="Recap",
)
return TemplateResponse(request, "proposals-recap.html", context)
Expand Down
Loading

1 comment on commit 727fefb

@vercel
Copy link

@vercel vercel bot commented on 727fefb Jan 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.