File tree Expand file tree Collapse file tree 2 files changed +272
-236
lines changed
Expand file tree Collapse file tree 2 files changed +272
-236
lines changed Original file line number Diff line number Diff line change @@ -631,6 +631,11 @@ def _render_grant_review(
631631 comment = request .GET .get ("comment" , user_review .comment if user_review else "" )
632632
633633 grant = Grant .objects .get (id = review_item_id )
634+ previous_grants = Grant .objects .filter (
635+ user_id = grant .user_id ,
636+ conference__organizer_id = grant .conference .organizer_id ,
637+ ).exclude (conference_id = grant .conference_id )
638+
634639 context = dict (
635640 self .admin_site .each_context (request ),
636641 grant = grant ,
@@ -640,6 +645,7 @@ def _render_grant_review(
640645 conference_id = grant .conference_id ,
641646 )
642647 .exists (),
648+ previous_grants = previous_grants ,
643649 available_scores = AvailableScoreOption .objects .filter (
644650 review_session_id = review_session .id
645651 ).order_by ("-numeric_value" ),
You can’t perform that action at this time.
0 commit comments