diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-02-17 21:32:59 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-17 14:07:25 -0800 |
commit | 265128451f5134082cf70dec8df2b381ed3b7519 (patch) | |
tree | 6d2c82941875aeef4ae036645b4b43c0ef274136 /xslt | |
parent | 169fb32484505b3a83cbdf2717a9a14a9ef5d950 (diff) | |
download | subsurface-265128451f5134082cf70dec8df2b381ed3b7519.tar.gz |
Add visibility and weather to dive notes
This adds a bit more information to dive notes on DiveLog import.
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/DiveLog.xslt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt index 66a3fd061..b4bab8905 100644 --- a/xslt/DiveLog.xslt +++ b/xslt/DiveLog.xslt @@ -55,8 +55,13 @@ <xsl:value-of select="@Site"/> </location> + <xsl:variable name="lf"> + <xsl:text> +</xsl:text> + </xsl:variable> <notes> <xsl:value-of select="notes"/> + <xsl:value-of select="concat($lf, 'Weather: ', @Weather, $lf, 'Visibility: ', @Visibility)"/> </notes> <cylinder> |