diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2014-07-04 14:37:08 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-04 06:35:18 -0700 |
commit | 11d2364c129bf828563a07bc48e33c742bfc72c5 (patch) | |
tree | 62d755d9d496ab1e33eeb48e97181082f0bf1a69 /save-html.c | |
parent | f7f8c0b1b2b9bd0fbd81c8b01e996591d57df134 (diff) | |
download | subsurface-11d2364c129bf828563a07bc48e33c742bfc72c5.tar.gz |
HTML: add events to detailed profile view
Export events to detailed dive view and add events to the profile.
Events names must appear on mouse hover.
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 'save-html.c')
-rw-r--r-- | save-html.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/save-html.c b/save-html.c index d459b0e6e..e1116aa77 100644 --- a/save-html.c +++ b/save-html.c @@ -17,7 +17,7 @@ void put_HTML_bookmarks(struct membuffer *b, struct dive *dive) put_string(b, "\"events\":["); while (ev) { put_format(b, "{\"name\":\"%s\",", ev->name); - put_format(b, "\"time\":\"%d:%02d min\",},", FRACTION(ev->time.seconds, 60)); + put_format(b, "\"time\":\"%d\",},", ev->time.seconds); ev = ev->next; } put_string(b, "],"); |