Skip to content

Commit 8327590

Browse files
authored
Merge pull request #631 from DFID/add-missing-ogds
Added three missing departments.
2 parents b59fa22 + e93b7d1 commit 8327590

5 files changed

Lines changed: 20 additions & 3 deletions

File tree

data/OGDs.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
"HMRC":
4343
{
44-
"identifiers":"x",
44+
"identifiers":"GB-GOV-11",
4545
"name": "HM Revenue and Customs"
4646
},
4747
"MOD":
@@ -93,5 +93,10 @@
9393
{
9494
"identifiers":"GB-GOV-53",
9595
"name": "UK Integrated Security Fund"
96+
},
97+
"MHCLG":
98+
{
99+
"identifiers":"GB-GOV-27",
100+
"name": "Ministry for Housing Communities and Local Government"
96101
}
97102
}

devtracker.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
set :current_first_day_of_financial_year, first_day_of_financial_year(DateTime.now)
8282
set :current_last_day_of_financial_year, last_day_of_financial_year(DateTime.now)
83-
set :goverment_department_ids, 'GB-GOV-53,GB-GOV-25,GB-GOV-26,GB-GOV-15,GB-GOV-9,GB-GOV-6,GB-GOV-2,GB-GOV-1,GB-1,GB-GOV-3,GB-GOV-13,GB-GOV-7,GB-6,GB-10,GB-GOV-10,GB-9,GB-GOV-8,GB-GOV-5,GB-GOV-12,GB-COH-RC000346,GB-COH-03877777,GB-GOV-24'
83+
set :goverment_department_ids, 'GB-GOV-11,GB-GOV-14,GB-GOV-27,GB-GOV-53,GB-GOV-25,GB-GOV-26,GB-GOV-15,GB-GOV-9,GB-GOV-6,GB-GOV-2,GB-GOV-1,GB-1,GB-GOV-3,GB-GOV-13,GB-GOV-7,GB-6,GB-10,GB-GOV-10,GB-9,GB-GOV-8,GB-GOV-5,GB-GOV-12,GB-COH-RC000346,GB-COH-03877777,GB-GOV-24'
8484
#set :goverment_department_ids, 'GB-GOV-1,GB-1'
8585
set :google_recaptcha_publicKey, ENV["GOOGLE_PUBLIC_KEY"]
8686
set :google_recaptcha_privateKey, ENV["GOOGLE_PRIVATE_KEY"]
1.32 KB
Loading

views/department/department.html.erb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,18 @@ title: Development Tracker
113113
<span class="app-logo__department--name govuk-body-xs">UK Integrated Security Fund</span>
114114
</div>
115115
</div>
116+
<div class="app-logo" data-dept="MHCLG">
117+
<div class="app-logo__department fcdo">
118+
<img src="/assets/images/govuk-crest.svg" class="app-logo__department--logo" />
119+
<span class="app-logo__department--name govuk-body-xs">Ministry of Housing, Communities and Local Government</span>
120+
</div>
121+
</div>
122+
<div class="app-logo" data-dept="HMRC">
123+
<div class="app-logo__department fcdo">
124+
<img src="/assets/images/hmrc_crest.png" class="app-logo__department--logo" />
125+
<span class="app-logo__department--name govuk-body-xs">HM Revenue and Customs</span>
126+
</div>
127+
</div>
116128
</div>
117129

118130
<table class="govuk-table datatable">

views/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ layout: cw_landing
168168
<p class="govuk-body-s app-card__intro">UK ODA spend by government department (<a style="font-size: 12px" target="_BLANK" href="https://www.gov.uk/government/collections/statistics-on-international-development#-statistics-on-international-development:-aid-spend-2023">Source, Statistics on International Development 2023</a>) </p>
169169
<% odas.each do |oda| %>
170170
<div class="app-top10-department">
171-
<%if oda[0]=='PF' || oda[0]=='CSSF' || oda[0]=='MHCLG' || oda[0]=='HMRC' %>
171+
<%if oda[0]=='PF' || oda[0]=='CSSF' %>
172172
<span class="govuk-body-s app-top10-department__name">
173173
<%= oda[1][0]["name"] %>
174174
</span>

0 commit comments

Comments
 (0)