Skip to content

Commit

Permalink
Color bg grey for withdrawn controls for usnistgov/oscal-content#134.
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-stein-nist committed Mar 21, 2023
1 parent 97e4fba commit 41ca5ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion publish/nist-emulation/rev5update_html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
<xsl:template match="control" mode="table-C">
<xsl:variable name="is-enhancing" select="exists(parent::control)"/>
<xsl:variable name="withdrawn" select="prop[@name='status']/@value='withdrawn'"/>
<tr class="{ if ($is-enhancing) then 'enhancement' else 'control' }-summary{ '-withdrawn'[$withdrawn] }">
<tr class="{ if ($is-enhancing) then 'enhancement' else 'control' }-summary{ ' withdrawn' [$withdrawn] }">
<td class="control-no" id="tableC-{@id}">
<a href="#{ @id }" ref-type="sec">
<xsl:apply-templates mode="#current" select="prop[@name = 'label']"/>
Expand Down

0 comments on commit 41ca5ac

Please sign in to comment.