summaryrefslogtreecommitdiffstats
path: root/theme/list_lib.js
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2014-06-24 16:01:50 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-24 21:39:58 +0800
commit33fa8bdf9614685c2a7f37d24a09d642ff164f98 (patch)
tree312273e828d5220980c6afe54687c4b1ee037ac4 /theme/list_lib.js
parente9c4259db43dbd2de204295f9cdae8c9cc267a5d (diff)
downloadsubsurface-33fa8bdf9614685c2a7f37d24a09d642ff164f98.tar.gz
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>
Diffstat (limited to 'theme/list_lib.js')
-rw-r--r--theme/list_lib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/list_lib.js b/theme/list_lib.js
index a6f1fcb71..bf5ad014a 100644
--- a/theme/list_lib.js
+++ b/theme/list_lib.js
@@ -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>'+