Skip to content
Draft
Show file tree
Hide file tree
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
58 changes: 57 additions & 1 deletion ckanext/canada/assets/internal/canada_internal.css
Original file line number Diff line number Diff line change
Expand Up @@ -868,4 +868,60 @@ input#field-resource-url{
## TODO: DEPRECATED: ##
## REMOVE AFTER FULL PD DATATABLES QA ##
## END ##
########################################*/
########################################*/

/*##############################
## PD Compliance Dashboards ##
################################*/
.pd-comp-summary-wrapper{
border: 2px solid #091c2d;
border-radius: 0 0 3px 3px;
margin-bottom: 25px;
}
/* TODO: write hover,active,focus states for details */
body .pd-comp-summary-wrapper details,
body .pd-comp-summary-wrapper summary{
margin: 0 !important;
padding: 0 !important;
display: block !important;
border: none !important;
outline: none !important;
text-decoration: none !important;
position: relative;
}

.pd-comp-summary-wrapper .pd-comp-summary-title{
display: block;
width: 100%;
min-height: 25px;
background-color: #091c2d;
color: #f7f7f7;
padding: 12px 36px 12px 24px;
font-weight: bold;
text-decoration: none !important;
}

.pd-comp-summary-wrapper details .pd-comp-summary-title::after{
content: '\f0fe';
position: absolute;
right: 24px;
top: 50%;
transform: translate(0, -50%);
display: block;
font-size: 36px;
line-height: 1;
font-family: 'FontAwesome';
}

.pd-comp-summary-wrapper details[open] .pd-comp-summary-title::after{
content: '\f146';
}

.pd-comp-summary-wrapper .pd-comp-summary-content{
padding: 10px;
}
/*##############################
## END ##
## PD Compliance Dashboards ##
## END ##
################################*/
116 changes: 75 additions & 41 deletions ckanext/canada/schemas/organization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,61 +148,95 @@ fields:
# {Reporting requirements for the organization. If 'ATI Summaries' is checked then ati_email field is mandatory}
- field_name: reporting_requirements
label:
en: "Select reporting requirements for the organization"
fr: "Sélectionner les exigences en matière de rapports pour l'organisation"
en: Select reporting requirements for the organization
fr: Sélectionner les exigences en matière de rapports pour l'organisation
choices:

- label:
en: 5th National Action Plan Tracker
fr: Outil de suivi pour le 5ᵉ Plan d'action national
value: nap5

- label:
en: "Acts of Founded Wrongdoing"
fr: "Dossiers sur les actes répréhensibles fondés"
value: "wrongdoing"
en: 6th National Action Plan Tracker
fr: Outil de suivi pour le 6ᵉ Plan d'action national
value: nap6

- label:
en: Acts of Founded Wrongdoing
fr: Dossiers sur les actes répréhensibles fondés
value: wrongdoing

- label:
en: "Aggregated Contracts from -$10K to $10K"
fr: "Contrats agrégés de -10 000$ à 10 000$"
value: "contractsa"
en: Aggregated Contracts from -$10K to $10K
fr: Contrats agrégés de -10 000$ à 10 000$
value: contractsa

- label:
en: AI Strategy Implementation Tracker
fr: Outil de suivi de la mise en oeuvre de la stratégie en matière d'IA
value: aistrategy

- label:
en: ATI Summaries
fr: Accès à l'information sommaires complétés
value: ati

- label:
en: "ATI Summaries"
fr: "Accès à l'information sommaires complétés"
value: "ati"
en: Briefing Note Titles and Numbers
fr: Titres et numéros des notes d'information
value: briefingt

- label:
en: "Briefing Note Titles and Numbers"
fr: "Titres et numéros des notes d'information"
value: "briefingt"
en: Contracts over 10K
fr: Contrats attribués de plus de 10 000 $
value: contracts

- label:
en: "Contracts over 10K"
fr: "Contrats attribués de plus de 10 000 $"
value: "contracts"
en: Departmental Audit Committee
fr: Comités ministériels d'audit
value: dac

- label:
en: "Departmental Audit Committee"
fr: "Comités ministériels d'audit"
value: "dac"
en: Grants and Contributions
fr: Subventions et les contributions
value: grants

- label:
en: "Grants and Contributions"
fr: "Subventions et les contributions"
value: "grants"
en: Hospitality Expenses
fr: Dépenses d'accueil
value: hospitalityq

- label:
en: "Hospitality Expenses"
fr: "Dépenses d'accueil"
value: "hospitalityq"
en: Position Reclassification
fr: Reclassifications de postes
value: reclassification

- label:
en: "Position Reclassification"
fr: "Reclassifications de postes"
value: "reclassification"
en: Question Period Notes
fr: Notes pour la période des questions
value: qpnotes

- label:
en: "Question Period Notes"
fr: "Notes pour la période des questions"
value: "qpnotes"
en: Service Identification Information & Metrics
fr: Renseignements sur l'identification des services, données volumétriques
value: service

- label:
en: "Travel Expenses"
fr: "Dépenses de voyage"
value: "travelq"
en: Travel Expenses
fr: Dépenses de voyage
value: travelq

- label:
en: "Annual Travel, Hospitality and Conferences"
fr: "Dépenses annuelles de voyages, d'accueil, de conférences et d'événements"
value: "travela"
en: Annual Travel, Hospitality and Conferences
fr: Dépenses annuelles de voyages, d'accueil, de conférences et d'événements
value: travela

- label:
en: "Use of Administrative Aircraft"
fr: "Utilisation des avions d'affaires"
value: "adminaircraft"
en: Use of Administrative Aircraft
fr: Utilisation des avions d'affaires
value: adminaircraft

form_snippet: multiple_checkbox.html
display_snippet: multiple_choice.html
validators: scheming_required scheming_multiple_choice protect_reporting_requirements ati_email_validate
Expand Down
2 changes: 2 additions & 0 deletions ckanext/canada/tables/adminaircraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ template_version: 3
template_updated: 2025-01-10 # last qa confirmed: 2025-02-19

portal_type: info
# TODO: confirm frequency
reporting_frequency: monthly

resources:
- title: Proactive Publication - Use of Administrative Aircraft
Expand Down
2 changes: 2 additions & 0 deletions ckanext/canada/tables/aistrategy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ template_updated: 2025-08-04

portal_type: info
collection: pd
# TODO: confirm frequency
reporting_frequency: quarterly_f

resources:
- title: AI Strategy Implementation Tracker
Expand Down
2 changes: 2 additions & 0 deletions ckanext/canada/tables/ati.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ template_updated: 2021-04-19 # last qa confirmed: 2025-02-19

portal_type: info
collection: ati
# TODO: confirm frequency
reporting_frequency: monthly

resources:
- title: ATI Summaries
Expand Down
2 changes: 2 additions & 0 deletions ckanext/canada/tables/briefingt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ template_updated: 2026-01-27 # last qa confirmed: 2025-02-19

portal_type: info
collection: briefingt
# TODO: confirm frequency
reporting_frequency: monthly

resources:
- title: Proactive Publication - Briefing Note Titles and Numbers
Expand Down
2 changes: 2 additions & 0 deletions ckanext/canada/tables/contracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ template_updated: 2023-06-28 # last qa confirmed: 2025-02-19

portal_type: info
collection: pd
# TODO: confirm frequency
reporting_frequency: quarterly_f

sidebar_extra_content:
en: 'For information on the Proactive Publication of Contracts, refer to the [Guide to the Proactive Publication of Contracts](https://www.tbs-sct.canada.ca/pol/doc-eng.aspx?id=32763).'
Expand Down
2 changes: 2 additions & 0 deletions ckanext/canada/tables/contractsa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ template_updated: 2023-06-28 # last qa confirmed: 2025-02-19

portal_type: info
collection: pd
# TODO: confirm frequency
reporting_frequency: annually

resources:
- title: Proactive Publication - Aggregated Contracts from -$10,000 to $10,000
Expand Down
2 changes: 2 additions & 0 deletions ckanext/canada/tables/dac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ template_updated: 2024-04-18 # last qa confirmed: 2025-02-19

portal_type: info
collection: pd
# TODO: confirm frequency
reporting_frequency: quarterly_f

resources:
- title: Proactive Publication - Departmental Audit Committee
Expand Down
2 changes: 2 additions & 0 deletions ckanext/canada/tables/grants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ template_warning:

portal_type: info
collection: pd
# TODO: confirm frequency
reporting_frequency: quarterly_f

resources:
- title: Proactive Publication - Grants and Contributions
Expand Down
3 changes: 2 additions & 1 deletion ckanext/canada/tables/hospitalityq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ template_updated: 2024-08-14 # last qa confirmed: 2025-02-19

portal_type: info
collection: pd

# TODO: confirm frequency
reporting_frequency: quarterly

resources:
- title: Proactive Publication - Hospitality Expenses
Expand Down
2 changes: 2 additions & 0 deletions ckanext/canada/tables/nap5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ template_updated: 2022-12-07 # last qa confirmed: 2025-02-19

portal_type: info
collection: pd
# TODO: confirm frequency
reporting_frequency: quarterly

resources:
- title: 5th National Action Plan on Open Government Tracker
Expand Down
2 changes: 2 additions & 0 deletions ckanext/canada/tables/qpnotes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ template_updated: 2025-01-10 # last qa confirmed: 2025-02-19

portal_type: info
collection: qpnotes
# TODO: confirm frequency
reporting_frequency: bi_annually

resources:
- title: Proactive Publication - Question Period Notes
Expand Down
2 changes: 2 additions & 0 deletions ckanext/canada/tables/reclassification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ template_updated: 2024-08-14 # last qa confirmed: 2025-02-19

portal_type: info
collection: pd
# TODO: confirm frequency
reporting_frequency: quarterly_f

resources:
- title: Proactive Publication - Position Reclassification
Expand Down
2 changes: 2 additions & 0 deletions ckanext/canada/tables/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ template_updated: 2025-08-11 # last qa confirmed: 2025-02-19

portal_type: dataset
collection: service
# TODO: confirm frequency
reporting_frequency: annually_f

guide_link: http://www.gcpedia.gc.ca/wiki/GC_Service_Policy_Agenda

Expand Down
2 changes: 2 additions & 0 deletions ckanext/canada/tables/travela.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ template_updated: 2023-10-05 # last qa confirmed: 2025-02-19

portal_type: info
collection: pd
# TODO: confirm frequency
reporting_frequency: annually_f

resources:
- title: Proactive Publication - Annual Travel, Hospitality and Conferences
Expand Down
5 changes: 3 additions & 2 deletions ckanext/canada/tables/travelq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ template_updated: 2024-08-14 # last qa confirmed: 2025-02-19

portal_type: info
collection: pd

# TODO: confirm frequency
reporting_frequency: monthly

resources:
- title: Proactive Publication - Travel Expenses
Expand Down Expand Up @@ -951,4 +952,4 @@ datatables_style:
bgColor: b19c7d
select:
bgColor: d8ccbd
fgColor: 333333
fgColor: 333333
2 changes: 2 additions & 0 deletions ckanext/canada/tables/wrongdoing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ template_updated: 2023-10-05 # last qa confirmed: 2025-02-19

portal_type: info
collection: pd
# TODO: confirm frequency
reporting_frequency: quarterly_f

resources:
- title: Proactive Publication - Founded Wrongdoing
Expand Down
1 change: 1 addition & 0 deletions ckanext/canada/templates/organization/edit_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
{% endif %}
{% if h.check_access('organization_update', {'id': organization.id}) %}
{{ h.build_nav_icon('organization.manage_members', _('Edit Members'), id=organization.name, icon='users') }}
{{ h.build_nav_icon('canada.pd_compliance_summary', _('Compliance'), id=organization.name, icon='certificate') }}
{% elif h.check_access('view_org_members', {'id': organization.id}) %}
{{ h.build_nav_icon('organization.members', _('View Members'), id=organization.name, icon='users') }}
{% endif %}
Expand Down
Loading
Loading