Skip to content

Commit

Permalink
Update to metamodel v14, release 1.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekSuchanek committed Sep 2, 2024
1 parent f0932ca commit ed4e043
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ This document template for DSW is available as open-source via GitHub Repository

## Changelog

### 1.16.0

- Adjusted to template metamodel version 14 (released in DSW 4.10.0)

### 1.15.1

- Fixed nested bullet points would display unwanted characters
Expand Down
2 changes: 1 addition & 1 deletion src/index.html.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE HTML>
{%- set km = ctx.knowledgeModel -%}
{%- set repliesMap = ctx.questionnaireReplies -%}
{%- set repliesMap = ctx.questionnaire.replies -%}
{%- set report = ctx.report -%}
{%- set dc = ctx|to_context_obj -%}
{% import "src/macros.html.j2" as macros with context %}
Expand Down
4 changes: 2 additions & 2 deletions src/questions/03-resource-allocation.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@
{%- endif -%}

{# People #}
{%- if ctx.createdBy %}
<p>{{ctx.createdBy.firstName}} {{ctx.createdBy.lastName}} is responsible for implementing the DMP, and ensuring it is reviewed and revised.</p>
{%- if ctx.questionnaire.createdBy %}
<p>{{ctx.questionnaire.createdBy.firstName}} {{ctx.questionnaire.createdBy.lastName}} is responsible for implementing the DMP, and ensuring it is reviewed and revised.</p>
{%- endif -%}

{%- set contributorsPath = [uuids.adminDetailsCUuid, uuids.contributorsQUuid]|reply_path -%}
Expand Down
4 changes: 2 additions & 2 deletions src/word/index.html.j2
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!DOCTYPE HTML>
{%- set km = ctx.knowledgeModel -%}
{%- set repliesMap = ctx.questionnaireReplies -%}
{%- set repliesMap = ctx.questionnaire.replies -%}
{%- set report = ctx.report -%}
{%- set dc = ctx|to_context_obj -%}
{% import "src/macros.html.j2" as macros with context %}
{% import "src/uuids.j2" as uuids with context %}
{% import "src/globals.j2" as globals with context %}
<html lang="en">
<head>
<title>{{ ctx.questionnaireName }}</title>
<title>{{ ctx.questionnaire.name }}</title>
<meta charset="utf-8">
<style>
{% include "src/style.css" %}
Expand Down
4 changes: 2 additions & 2 deletions template.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"templateId": "h2020-dmp",
"organizationId": "dsw",
"version": "1.15.1",
"version": "1.16.0",
"name": "Horizon 2020 DMP",
"description": "Data Management Plan according to the H2020 template",
"license": "Apache-2.0",
"metamodelVersion": 13,
"metamodelVersion": 14,
"allowedPackages": [
{
"orgId": "dsw",
Expand Down

0 comments on commit ed4e043

Please sign in to comment.