From: Miika Turkia Date: Sat, 18 Aug 2012 16:33:40 +0000 (+0300) Subject: Add weight and suit support for JDiveLog import X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=413065dcdccebe3a97813e9c45a654820f98e0e6;p=ext%2Fsubsurface.git Add weight and suit support for JDiveLog import Use the suit and weightsystem support of Subsurface when importing divelogs from JDiveLog. (They were previously included in the notes field as support for these fields was missing from Subsurface.) After import the weightsystem is undefined and weight unit is the default of Subsurface. Unfortunately the weight field in JDiveLog is text field and might contain pounds and kilograms mixed in seemingly random order. Thus 2 pounds of weight might be transformed to 2 kg. Signed-off-by: Miika Turkia Signed-off-by: Linus Torvalds --- diff --git a/xslt/jdivelog2subsurface.xslt b/xslt/jdivelog2subsurface.xslt index e2f40c5..6e85cbf 100644 --- a/xslt/jdivelog2subsurface.xslt +++ b/xslt/jdivelog2subsurface.xslt @@ -64,6 +64,21 @@ + + + + + + + + + + + + + + + Diveactivity: @@ -73,15 +88,9 @@ Divetype: Visibility: - - -Suit: Gloves: - - -Weight: Comment: