From 25ac41cc3fb92ac6106f44b9deadb8de93d886a0 Mon Sep 17 00:00:00 2001 From: Russ Garrett Date: Wed, 7 Feb 2024 13:27:40 +0000 Subject: [PATCH] Add some inline guidance for proposal checking and anonymisation --- apps/cfp_review/base.py | 2 +- templates/cfp_review/anonymise_list.html | 3 ++- templates/cfp_review/anonymise_proposal.html | 17 +++++++++++++++-- .../{update_proposal.html => proposal.html} | 12 ++++++++++++ 4 files changed, 30 insertions(+), 4 deletions(-) rename templates/cfp_review/{update_proposal.html => proposal.html} (95%) diff --git a/apps/cfp_review/base.py b/apps/cfp_review/base.py index fea2cc526..771ae2fe2 100644 --- a/apps/cfp_review/base.py +++ b/apps/cfp_review/base.py @@ -442,7 +442,7 @@ def log_and_close(msg, next_page, proposal_id=None): form.slide_link.data = prop.slide_link return render_template( - "cfp_review/update_proposal.html", proposal=prop, form=form, next_id=next_id + "cfp_review/proposal.html", proposal=prop, form=form, next_id=next_id ) diff --git a/templates/cfp_review/anonymise_list.html b/templates/cfp_review/anonymise_list.html index b7d45d781..15f5b5edc 100644 --- a/templates/cfp_review/anonymise_list.html +++ b/templates/cfp_review/anonymise_list.html @@ -1,6 +1,7 @@ {% extends "cfp_review/base.html" %} +{% block title %}Proposals to Anonymise{% endblock %} {% block body %} -

Proposals to Anonymise(showing {{ proposals | count }})

+

Proposals to Anonymise (showing {{ proposals | count }})

diff --git a/templates/cfp_review/anonymise_proposal.html b/templates/cfp_review/anonymise_proposal.html index addd59167..c5681299f 100644 --- a/templates/cfp_review/anonymise_proposal.html +++ b/templates/cfp_review/anonymise_proposal.html @@ -1,8 +1,21 @@ {% from "_formhelpers.html" import render_dl_field %} {% extends "cfp_review/base.html" %} +{% block title %}Anonymise Proposal{% endblock %} {% block body %} - +

Anonymise Proposal

+
+

Please remove any detail from this proposal which would identify the submitter.

+

Anonymisation doesn't have to be perfect - if a reviewer knows the topic and the submitter well, they can recuse themselves - + but it should be good enough that someone with a passing knowledge of the topic can't identify the submitter. +

+

If you're unable to reasonably anonymise this proposal, press "I cannot anonymise this proposal" + and we'll get back to the submitter and work with them to revise it. +

+

Please don't worry about the content of the proposal. Our reviewers are great - if it's not something we'd + want at EMF, it won't pass review. +

+
{{ form.hidden_tag() }}
@@ -21,7 +34,7 @@

{{proposal.title}} by {{proposal.user.name}}

+{% endif %} +

{{proposal.published_title or proposal.title}}