Skip to content

Commit

Permalink
Merge pull request #26 from eea/develop
Browse files Browse the repository at this point in the history
Refs #269929 - Update data providers table structure (add title, link for name column).
  • Loading branch information
GhitaB authored May 29, 2024
2 parents 91ab3aa + da645a7 commit 6972b13
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
5 changes: 5 additions & 0 deletions docs/HISTORY.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

3.3 - (2024-05-29)
---------------------------
* Change: Refs #269929 - Update data providers table structure (add title, link for name column).
[GhitaB]

3.2 - (2024-05-28)
---------------------------
* Change: Fix news item editing problem
Expand Down
13 changes: 9 additions & 4 deletions eea/insitu/policy/cis2/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,12 @@ def data_providers_table():
{
"id": provider["id"],
"acronym": provider["acronym"],
"name": provider["name"],
"name": {
"title": provider["name"],
"link": provider["link"]},
"provider_type": provider["provider_type"],
"countries": [x["name"] for x in provider["countries"]],
"link": provider["link"],
"link": provider["website"],
"members": simplified_data_providers_list(
provider["members"]),
"requirement_groups": [
Expand All @@ -79,10 +81,13 @@ def data_providers_table():
{
"id": provider["id"],
"acronym": provider["acronym"],
"name": provider["name"],
"name": {
"title": provider["name"],
"link": provider["link"]
},
"provider_type": provider["provider_type"],
"countries": [x["name"] for x in provider["countries"]],
"link": provider["link"],
"link": provider["website"],
"members": simplified_data_providers_list(
provider["members"]),
"requirement_groups": [
Expand Down
2 changes: 1 addition & 1 deletion eea/insitu/policy/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2
3.3

0 comments on commit 6972b13

Please sign in to comment.