mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Include cylinder pressures on export when they exist
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
		
							parent
							
								
									2b484316e4
								
							
						
					
					
						commit
						2e340d3a61
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -360,11 +360,11 @@
 | 
			
		|||
                <xsl:value-of select="substring-before(@start, ' ') * 100000"/>
 | 
			
		||||
              </tankpressurebegin>
 | 
			
		||||
            </xsl:when>
 | 
			
		||||
            <xsl:otherwise>
 | 
			
		||||
            <xsl:when test="../divecomputer[1]/sample[@pressure]/@pressure[1]">
 | 
			
		||||
              <tankpressurebegin>
 | 
			
		||||
                <xsl:value-of select="substring-before(../divecomputer[1]/sample[@pressure]/@pressure[1], ' ') * 100000"/>
 | 
			
		||||
              </tankpressurebegin>
 | 
			
		||||
            </xsl:otherwise>
 | 
			
		||||
            </xsl:when>
 | 
			
		||||
          </xsl:choose>
 | 
			
		||||
 | 
			
		||||
          <xsl:choose>
 | 
			
		||||
| 
						 | 
				
			
			@ -373,11 +373,11 @@
 | 
			
		|||
                <xsl:value-of select="substring-before(@end, ' ') * 100000"/>
 | 
			
		||||
              </tankpressureend>
 | 
			
		||||
            </xsl:when>
 | 
			
		||||
            <xsl:otherwise>
 | 
			
		||||
            <xsl:when test="../divecomputer[1]/sample[@pressure][last()]/@pressure[1]">
 | 
			
		||||
              <tankpressureend>
 | 
			
		||||
                <xsl:value-of select="substring-before(../divecomputer[1]/sample[@pressure][last()]/@pressure[1], ' ') * 100000"/>
 | 
			
		||||
              </tankpressureend>
 | 
			
		||||
            </xsl:otherwise>
 | 
			
		||||
            </xsl:when>
 | 
			
		||||
          </xsl:choose>
 | 
			
		||||
 | 
			
		||||
        </tankdata>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue