Skip to content

Commit 80daf96

Browse files
authored
Merge pull request #1755 from Mab879/fix_1743
First try at adding remarks to the guide
2 parents 192f545 + d0df6ea commit 80daf96

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

xsl/xccdf-guide-impl.xsl

+10
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,16 @@ Authors:
239239
</div></td></tr>
240240
</xsl:if>
241241

242+
<xsl:if test="count($profile/cdf:select[@idref=$item/@id]/cdf:remark) > 0">
243+
<tr><td>Remarks</td><td class="remarks">
244+
<xsl:for-each select="$profile/cdf:select[@idref=$item/@id]/cdf:remark">
245+
<blockquote class="small">
246+
<xsl:value-of select="text()" />
247+
</blockquote>
248+
</xsl:for-each>
249+
</td></tr>
250+
</xsl:if>
251+
242252
<tr><td><span class="label label-warning">Severity:</span>&#160;</td><td><div class="severity">
243253
<xsl:call-template name="item-severity">
244254
<xsl:with-param name="item" select="$item" />

0 commit comments

Comments
 (0)