From 11d2364c129bf828563a07bc48e33c742bfc72c5 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Fri, 4 Jul 2014 14:37:08 +0300 Subject: 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 Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- save-html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'save-html.c') 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, "],"); -- cgit v1.2.3-70-g09d2