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>
This commit is contained in:
Miika Turkia 2016-05-11 20:00:01 +03:00 committed by Dirk Hohndel
parent 2936b63a04
commit 6392bf83ab

View file

@ -220,7 +220,7 @@
</xsl:if>
<xsl:if test="$airtempField &gt;= 0 or $watertempField &gt;= 0">
<temperature>
<divetemperature>
<xsl:if test="$airtempField &gt;= 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 &gt; 0 or $startpressureField &gt; 0 or $endpressureField &gt; 0 or $o2Field &gt; 0 or $heField &gt; 0">