Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workaround: refer to data owners in Datahub as custodians in Find MoJ data #1014

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions templates/partial/contact_info.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ <h2 class="govuk-heading-s govuk-!-margin-bottom-1">{% translate "Access require
{% else %}
{{ access_requirements }}
{% endif %}
{% elif governance.data_custodians %}
{% elif governance.data_custodians or governance.data_owner.email %}
{% translate "Please contact the data custodian for access information." %}
{% elif governance.data_owner.email %}
{% translate "Please contact the data owner for access information." %}
{% else %}
{% translate "Not provided" %}
{% endif %}
Expand All @@ -36,12 +34,10 @@ <h2 class="govuk-heading-s govuk-!-margin-bottom-1">{% translate "Contact channe
{% if further_information.dc_team_email %}
<li id="contact_channels_team_email" >{{ further_information.dc_team_email|urlize }}</li>
{% endif %}

{% if not further_information.dc_teams_channel_url and not further_information.dc_slack_channel_url and not further_information.dc_team_email %}
{% if governance.data_custodians %}
{% if governance.data_custodians or governance.data_owner.email %}
<li id="contact_channels_data_owner">{% translate "Contact the data custodian with questions." %}</li>
{% elif governance.data_owner.email %}
<li id="contact_channels_data_owner">{% translate "Contact the data owner with questions." %}</li>
{% else %}
<li id="contact_channels_not_provided">{% translate "Not provided" %}</li>
{% endif %}
Expand All @@ -58,7 +54,7 @@ <h2 class="govuk-heading-s govuk-!-margin-bottom-1">{% translate "Data custodian
</div>
{% else %}
<div class="govuk-body">
<h2 class="govuk-heading-s govuk-!-margin-bottom-1">{% translate "IAO or Data Owner" %}</h2>
<h2 class="govuk-heading-s govuk-!-margin-bottom-1">{% translate "Data custodian" %}</h2>
<p id="data_owner" class="govuk-body">
{% if governance.data_owner.email %}
{{ governance.data_owner.email|urlize }}
Expand Down
Loading