From a60cc9c62d1bb4a95c651dc2f384dc5847f4ede1 Mon Sep 17 00:00:00 2001 From: Lloyd McKenzie Date: Sat, 8 Feb 2020 09:30:02 -0700 Subject: [PATCH] Improved layout of vocabulary, fixed messages for missing name and description --- layouts/layout-valueset.html | 17 ++++++++++------- scripts/onGenerate.qa.xslt | 32 +++++++++++++++++--------------- 2 files changed, 27 insertions(+), 22 deletions(-) diff --git a/layouts/layout-valueset.html b/layouts/layout-valueset.html index 7c5adf2..06e4110 100644 --- a/layouts/layout-valueset.html +++ b/layouts/layout-valueset.html @@ -5,20 +5,23 @@

Publish Box goes here

{{site.data.pages[page.path].title}}

- {% assign intro = site.data.pages[page.path].intro %} - {% if site.data.pages[page.path].intro != null %} -
- {% include {{intro}} %} -
- {% endif %}

Summary

- {%include {{[type]}}-{{[id]}}-summary.xhtml%} +

+ References +

{%include {{[type]}}-{{[id]}}-xref.xhtml%} + {% assign intro = site.data.pages[page.path].intro %} + {% if site.data.pages[page.path].intro != null %} +
+ {% include {{intro}} %} +
+ {% endif %} +

Content Logical Definition

diff --git a/scripts/onGenerate.qa.xslt b/scripts/onGenerate.qa.xslt index df94a8b..51019f5 100644 --- a/scripts/onGenerate.qa.xslt +++ b/scripts/onGenerate.qa.xslt @@ -9,20 +9,22 @@ - - - error - required - Unable to find name for the resource. Names are mandatory to allow proper population of the artifact list. - - - - - - warning - invariant - Unable to find description for the resource. Descriptions are strongly encouraged to allow proper population of the artifact list. - - + + + + error + required + + + + + + + warning + invariant + + + + \ No newline at end of file