improved planning data in documents

This commit is contained in:
skyanth
2017-07-05 14:17:03 +02:00
parent 51e9f79815
commit 3988bc3660
5 changed files with 44 additions and 25 deletions
+2 -2
View File
@@ -82,9 +82,9 @@
<title>Executive Summary</title>
<section id="introduction">
<title>Introduction</title>
<p>...</p>
<p>Between <p_startdate/> and <p_enddate/>, <company_long/> carried out a penetration test for <client_long/></p>
<p>This report contains our findings as well as detailed explanations of exactly
how ROS performed the penetration test.</p>
how <company_short/> performed the penetration test.</p>
</section>
<section id="scope">
<title>Scope of work</title>
+4 -9
View File
@@ -84,23 +84,18 @@
<xsl:comment>duration of pentest, in persondays</xsl:comment>
<planning>
<start>
<xsl:comment>date in ISO format: YYYY-MM-DD</xsl:comment>
<xsl:comment>date in ISO format (YYYY-MM-DD) or TBD</xsl:comment>
<xsl:text>YYYY-MM-DD</xsl:text>
</start>
<end>
<xsl:comment>date in ISO format: YYYY-MM-DD</xsl:comment>
<xsl:comment>date in ISO format (YYYY-MM-DD) or TBD</xsl:comment>
<xsl:text>YYYY-MM-DD</xsl:text>
</end>
</planning>
<report_due>
<xsl:choose>
<xsl:when test="/*/activityinfo/report_due">
<xsl:value-of select="/*/activityinfo/report_due"/>
</xsl:when>
<xsl:otherwise>TBD</xsl:otherwise>
</xsl:choose>
<xsl:comment>date in ISO format (YYYY-MM-DD) or TBD</xsl:comment>
<xsl:text>YYYY-MM-DD</xsl:text>
</report_due>
<xsl:comment>date or date range in text, e.g. May 18th until May 25th, 2015</xsl:comment>
<nature>
<xsl:choose>
<xsl:when test="/*/activityinfo/nature">