From a2e46acc55bcbea6f4f189d920169b7d33e18863 Mon Sep 17 00:00:00 2001 From: George Hickman Date: Wed, 20 Oct 2021 12:39:11 +0100 Subject: [PATCH 1/2] Revert "Remove unused template" This reverts commit 50ad39d29ab6f1c1c96546d0ce260b453978d023. --- jobserver/templates/project_create.html | 62 +++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 jobserver/templates/project_create.html diff --git a/jobserver/templates/project_create.html b/jobserver/templates/project_create.html new file mode 100644 index 000000000..c5121602c --- /dev/null +++ b/jobserver/templates/project_create.html @@ -0,0 +1,62 @@ +{% extends "base.html" %} + +{% block metatitle %}Create a project | OpenSAFELY Jobs{% endblock metatitle %} + +{% block breadcrumbs %} + +{% endblock breadcrumbs %} + +{% block jumbotron %} +
+
+

Create a project

+
+
+{% endblock jumbotron %} + +{% block content %} +
+
+
+
+ {% csrf_token %} +
+ + Project details + + + {% if form.non_field_errors %} +
    + {% for error in form.non_field_errors %} +
  • {{ error }}
  • + {% endfor %} +
+ {% endif %} + + {% include "components/form_text.html" with field=form.name label="Project name" name="name" %} + +
+ + + +
+
+
+
+{% endblock content %} From 2fa5e293971674ac578f55b434d92af7f36598a6 Mon Sep 17 00:00:00 2001 From: George Hickman Date: Wed, 20 Oct 2021 12:40:12 +0100 Subject: [PATCH 2/2] Remove unused template --- .../templates/project_onboarding_create.html | 659 ------------------ 1 file changed, 659 deletions(-) delete mode 100644 jobserver/templates/project_onboarding_create.html diff --git a/jobserver/templates/project_onboarding_create.html b/jobserver/templates/project_onboarding_create.html deleted file mode 100644 index e83b14fc0..000000000 --- a/jobserver/templates/project_onboarding_create.html +++ /dev/null @@ -1,659 +0,0 @@ -{% extends "base.html" %} - -{% load django_vite %} - -{% block content %} - - -
-
- -

Project Registration

- -
- {% csrf_token %} - - {% if form.non_field_errors %} -
    - {% for error in form.non_field_errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -

Project Details

- -
- -
- -
- -
- - {% if form.name.errors %} -
    - {% for error in form.name.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
-
- -

Contact Details

- -
- -
- -
- -
- - {% if form.project_lead.errors %} -
    - {% for error in form.project_lead.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- -
- -
- - {% if form.email.errors %} -
    - {% for error in form.email.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- -
- -
- - {% if form.telephone.errors %} -
    - {% for error in form.telephone.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- -
- -
- - {% if form.job_title.errors %} -
    - {% for error in form.job_title.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- -
- -
- - {% if form.team_name.errors %} -
    - {% for error in form.team_name.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- -
- - For NHE E&I Users -
- - {% if form.region.errors %} -
    - {% for error in form.region.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- -

Reason for the request and approvals

- -
- - - - For OpenSAFELY, please also describe briefly the aims, potential - methods and the expected outputs (for example, peer-reviewed paper, - policy white paper, blog, etc). See OpenSAFELY - - Purposes of processing - . - - - {% if form.purpose.errors %} -
    - {% for error in form.purpose.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- - - - {% if form.requested_data_meets_purpose.errors %} -
    - {% for error in form.requested_data_meets_purpose.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- - - - {% if form.why_data_is_required.errors %} -
    - {% for error in form.why_data_is_required.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- - - - For OpenSAFELY, researchers accessing the platform will usually need - to sign an honorary contract with NHS England; the OpenSAFELY legal - basis is already described - - here. - - - - {% if form.data_access_legal_basis.errors %} -
    - {% for error in form.data_access_legal_basis.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- - - - For OpenSAFELY, this has already been addressed by the - - Covid-19 COPI regulation 3 notice, - which sets aside the duty of confidentiality. - - - {% if form.satisfying_confidentiality.errors %} -
    - {% for error in form.satisfying_confidentiality.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- - - - Further information is on the HRA website here. - You may find - - this table from the HRA that defines research - - helpful. - When ethical approval is needed, please provide the ethics approval - reference number. - - - {% if form.ethics_approval.errors %} -
    - {% for error in form.ethics_approval.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- - - - {% if form.is_research_on_cmo_priority_list.errors %} -
    - {% for error in form.is_research_on_cmo_priority_list.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -

for OpenSAFELY requests only

- -
- - - - OpenSAFELY does not have the resources to cover other costs - associated with your proposed research project, or to design and - write your analysis for you. - - - {% if form.funding_source.errors %} -
    - {% for error in form.funding_source.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- - - - OpenSAFELY will need to be able to assess the impact of onboarding - your team on our own capacity. - - - {% if form.team_details.errors %} -
    - {% for error in form.team_details.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- - - - For OpenSAFELY, researchers accessing the platform will usually need - to sign an honorary contract with NHS England; the OpenSAFELY legal - basis is already described - - here. - - - - {% if form.data_access_legal_basis.errors %} -
    - {% for error in form.data_access_legal_basis.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- - - - For this application round we are focused on finding research groups - already familiar with analysing EHR data. We plan to extend these - limits in the future. - - - {% if form.previous_experience_with_ehr.errors %} -
    - {% for error in form.previous_experience_with_ehr.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- - - - To use OpenSAFELY you need Git, GitHub, Python, and Docker. The - analysis can use Stata, R, or Python. It is not essential that you - have experience of using all of these elements. - - - {% if form.evidence_of_scripting_languages.errors %} -
    - {% for error in form.evidence_of_scripting_languages.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- - - - The OpenSAFELY philosophy is that all code used to build the platform - and to conduct analytics is shared openly for independent scientific - review and efficient re-use. - - - {% if form.evidence_of_sharing_in_public.errors %} -
    - {% for error in form.evidence_of_sharing_in_public.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
-
-

Researchers

- - -
- -

- How many people need access to the platform to review preliminary - results prior to release for publication? -

- -

- Platform access will require individuals to successfully complete a - safe researcher training course e.g. via - - ONS. -

- - {{ researcher_formset.management_form }} - -
- {% include "_researcher_registration_form.html" with id="__prefix__" form=researcher_formset.empty_form %} -
- - {% for form in researcher_formset %} - {% include "_researcher_registration_form.html" with id=forloop.counter0 form=form %} - {% endfor %} -
- -

Declaration

- -
-

- I confirm that the information in this application form is true and - complete. I confirm that I will adhere to all applicable Information - Governance rules and guidelines and adhere to Data Protection Act 2018 - requirements. I also confirm that my mandatory IG training is completed - and up to date. -

- -
- - -
- - {% if form.has_signed_declaration.errors %} -
    - {% for error in form.has_signed_declaration.errors %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
-
- -
-
- -
- -
-
-{% endblock content %} - -{% block extra_js %} -{% vite_asset 'assets/src/scripts/project_create.js' %} -{% vite_legacy_polyfills %} -{% vite_legacy_asset 'assets/src/scripts/project_create-legacy.js' %} -{% endblock %}