HTML: user export options ask for numbering

Ask if you want the exporter to rearrange the dive numbers starting from
1 or use the existing numbers in subsurface. one may need to have the
dives exported in the same number to reference them easier.

Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Gehad elrobey 2014-06-24 16:01:50 +03:00 committed by Dirk Hohndel
parent e9c4259db4
commit 33fa8bdf96
3 changed files with 5 additions and 5 deletions

View file

@ -170,7 +170,7 @@ function unexpand(ul){
//////////////////////////////////////
function getlimited (dive) {
return '<div style="height:20px"><div class="item">'+dive.subsurface_number+'</div>'+
return '<div style="height:20px"><div class="item">'+(settings.subsurfaceNumbers==='0'?dive.number:dive.subsurface_number)+'</div>'+
'<div class="item">'+dive.date+'</div>'+
'<div class="item">'+dive.time+'</div>'+
'<div class="item_large">'+dive.location+'</div>'+