diff --git a/private/js/edit-project.js b/private/js/edit-project.js index 2196f97..07e6749 100644 --- a/private/js/edit-project.js +++ b/private/js/edit-project.js @@ -333,6 +333,9 @@ function loadNavBar(data,projectId) { dimension.activities.forEach(activity => { const dimensionPrefix = dimension.name.toLowerCase().replace(/\s+/g, '-'); const activityId = dimensionPrefix + "-" + activity.title.toLowerCase().replace(/\s+/g, '-'); + if (defaultActivity === "") { + defaultActivity = activityId; + } const activityItem = document.createElement('li'); activityItem.classList.add('nav-activity-item'); // Add class for styling diff --git a/private/schemas/newProject.json b/private/schemas/newProject.json index 36de99b..038b1b2 100644 --- a/private/schemas/newProject.json +++ b/private/schemas/newProject.json @@ -12,7 +12,7 @@ }, "title": { "type": "string", - "title": "Project Title", + "title": "Project title", "minLength": 1, "required": true }, @@ -23,10 +23,11 @@ "organisation": { "type": "object", "title": "Organisation", + "required": true, "properties": { "title": { "type": "string", - "title": "Organisation Title" + "title": "Organisation title" }, "country": { "type": "object", @@ -34,11 +35,11 @@ "properties": { "name": { "type": "string", - "title": "Country Name" + "title": "Country name" }, "code": { "type": "string", - "title": "Country Code" + "title": "Country code" } } } @@ -57,7 +58,7 @@ }, { "key": "title", - "title": "Project Title", + "title": "Project title", "validationMessage": "Please enter the project title." }, { @@ -70,7 +71,7 @@ }, { "key": "organisation.title", - "title": "Organisation Name" + "title": "Organisation name" }, { "key": "organisation.country.name" diff --git a/views/pages/home.ejs b/views/pages/home.ejs index 8c81f8e..42803b0 100644 --- a/views/pages/home.ejs +++ b/views/pages/home.ejs @@ -5,7 +5,7 @@

Welcome to the ODI Maturity Assessment Tool

The ODI Maturity Assessment Tool helps organisations evaluate their data maturity across key domains such as open data, data ethics, and overall data practices. Our maturity models provide a clear, structured framework for assessing your current capabilities, identifying areas for improvement.

Using this tool, you can conduct an assessment based on our maturity models to evaluate how well your organisation manages and utilises data. After completing your assessment, you'll receive a detailed report containing actionable insights tailored to your organisation’s specific needs.

-

If you're an ODI member, the tool leverages AI to enhance your experience further. Based on your assessment responses, the AI generates human-readable summaries for each model area, along with an overall executive summary.

+

If you're an ODI member, the tool leverages Artificial Intelligence (AI) to enhance your experience further. Based on your assessment responses, the AI generates human-readable summaries for each model area, along with an overall executive summary.

Whether you're seeking to refine your data strategy or benchmark your organisation's progress, the ODI Maturity Assessment Tool is an invaluable resource to guide your next steps.

Maturity steps @@ -29,7 +29,7 @@
Data Ethics Maturity Model -

Data Ethics Maturity Model (Coming Soon)

+

Data Ethics Maturity Model

The Data Ethics Maturity Model is a tool for anyone who collects, uses and shares data. It helps assess and benchmark how widely embedded data ethics culture and practices are across your organisation.

diff --git a/views/pages/projects/edit.ejs b/views/pages/projects/edit.ejs index 280fe39..d540a29 100644 --- a/views/pages/projects/edit.ejs +++ b/views/pages/projects/edit.ejs @@ -30,19 +30,6 @@
- - <%- include('../../partials/footer') %> \ No newline at end of file diff --git a/views/pages/projects/new.ejs b/views/pages/projects/new.ejs index 0a3fca7..9f22a57 100644 --- a/views/pages/projects/new.ejs +++ b/views/pages/projects/new.ejs @@ -76,7 +76,7 @@ countries.sort((a, b) => a.name.common.localeCompare(b.name.common)); // Create the label and dropdown elements - const countryLabel = $(''); + const countryLabel = $(''); const countryDropdown = $(''); countryDropdown.append(''); diff --git a/views/pages/projects/view.ejs b/views/pages/projects/view.ejs index 402c1b7..acb38d8 100644 --- a/views/pages/projects/view.ejs +++ b/views/pages/projects/view.ejs @@ -89,7 +89,7 @@ function renderMyProjects() { }, { data: 'organisation.title', - title: 'Organisation Name', + title: 'Organisation name', width: '10%', defaultContent: '' }, @@ -101,7 +101,7 @@ function renderMyProjects() { }, { data: 'assessmentData.activityCompletionPercentage', - title: 'Activities Complete (%)', + title: 'Activities complete (%)', width: '10%', defaultContent: '0%', render: function(data, type, row) { @@ -109,8 +109,8 @@ function renderMyProjects() { } }, { - data: 'assessmentData.statementCompletionPercentage', - title: 'Statements Complete (%)', + data: 'assessmentData.questionCompletionPercentage', + title: 'Questions answered (%)', width: '10%', defaultContent: '0%', render: function(data, type, row) { @@ -119,7 +119,7 @@ function renderMyProjects() { }, { data: 'lastModified', - title: 'Last Modified', + title: 'Last modified', width: '10%', render: function(data, type, row) { // Parse the date string into a Date object @@ -135,7 +135,7 @@ function renderMyProjects() { return '' + '' + '' + - '' + '' } } ], @@ -269,7 +269,7 @@ function renderSharedProjects(data) { }, { data: 'organisation.title', - title: 'Organisation Name', + title: 'Organisation name', width: '10%', defaultContent: '' }, @@ -281,7 +281,7 @@ function renderSharedProjects(data) { }, { data: 'assessmentData.activityCompletionPercentage', - title: 'Activities Complete (%)', + title: 'Activities complete (%)', width: '10%', defaultContent: '0%', render: function(data, type, row) { @@ -289,8 +289,8 @@ function renderSharedProjects(data) { } }, { - data: 'assessmentData.statementCompletionPercentage', - title: 'Statements Complete (%)', + data: 'assessmentData.questionCompletionPercentage', + title: 'Questions answered (%)', width: '10%', defaultContent: '0%', render: function(data, type, row) { @@ -305,7 +305,7 @@ function renderSharedProjects(data) { }, { data: 'lastModified', - title: 'Last Modified', + title: 'Last modified', width: '10%', render: function(data, type, row) { // Parse the date string into a Date object @@ -319,7 +319,7 @@ function renderSharedProjects(data) { width: '20%', render: function (data, type, row) { return '' + - '' + '' } } ],