diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2016-05-11 20:00:01 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-05-16 11:02:22 -0700 |
commit | 6392bf83ab35054d52e14e9282f3879b07a1e77e (patch) | |
tree | e16e5b2b27c598fa5833ed43cfb07793596b88b4 /xslt | |
parent | 2936b63a04dc2d8ce176937ddec857ffae2a1768 (diff) | |
download | subsurface-6392bf83ab35054d52e14e9282f3879b07a1e77e.tar.gz |
Use manual temperatures in CSV details import
When importing dive details from a CSV file, it is better to treat the
values as manually imported instead of imported from a dive computer.
The original way discarded the temperature values from the details
import if a dive profile was imported and merged to the dive details.
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/manualcsv2xml.xslt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/manualcsv2xml.xslt b/xslt/manualcsv2xml.xslt index adad84250..287524d31 100644 --- a/xslt/manualcsv2xml.xslt +++ b/xslt/manualcsv2xml.xslt @@ -220,7 +220,7 @@ </xsl:if> <xsl:if test="$airtempField >= 0 or $watertempField >= 0"> - <temperature> + <divetemperature> <xsl:if test="$airtempField >= 0"> <xsl:attribute name="air"> <xsl:variable name="air"> @@ -257,7 +257,7 @@ </xsl:choose> </xsl:attribute> </xsl:if> - </temperature> + </divetemperature> </xsl:if> <xsl:if test="$cylindersizeField > 0 or $startpressureField > 0 or $endpressureField > 0 or $o2Field > 0 or $heField > 0"> |