diff --git a/README.md b/README.md index b555520..105e64c 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,10 @@ This document template for DSW is available as open-source via GitHub Repository ## Changelog +### 1.12.1 + +- Fix extra `endif` + ### 1.12.0 - Update for `dsw:root:2.5.0` diff --git a/src/questions/01-data-summary.html.j2 b/src/questions/01-data-summary.html.j2 index acda9b5..6b4ef02 100644 --- a/src/questions/01-data-summary.html.j2 +++ b/src/questions/01-data-summary.html.j2 @@ -142,154 +142,154 @@ {%- set preexistingPath = [uuids.reusingCUuid, uuids.preexistingQUuid]|reply_path -%} {%- set preexistingAUuid = repliesMap[preexistingPath]|reply_str_value -%} {%- if preexistingAUuid == uuids.preexistingYesAUuid -%} - {%- set refDataPath = [preexistingPath, uuids.preexistingYesAUuid, uuids.refDataQUuid]|reply_path -%} - {%- set refDataItems = repliesMap[refDataPath]|reply_items -%} - {%- set nrefDataPath = [preexistingPath, uuids.preexistingYesAUuid, uuids.nrefDataQUuid]|reply_path -%} - {%- set nrefDataItems = repliesMap[nrefDataPath]|reply_items -%} - {%- if (refDataItems|length + nrefDataItems|length) > 0 -%} -
-

Re-used datasets

- {%- if refDataItems|length > 0 -%} -
We have found the following reference datasets that we have considered for re-use: - +
+ {%- endif -%} +
+ {%- endif -%} {%- endif -%} {# Format/Type with volume #} {%- set formatsPath = [uuids.creatingCUuid, uuids.formatsQUuid]|reply_path -%} diff --git a/template.json b/template.json index 64b7f6b..1d9b13a 100644 --- a/template.json +++ b/template.json @@ -1,7 +1,7 @@ { "templateId": "h2020-dmp", "organizationId": "dsw", - "version": "1.12.0", + "version": "1.12.1", "name": "Horizon 2020 DMP", "description": "Data Management Plan according to the H2020 template", "license": "Apache-2.0",