From feb3d6e4761badef62a288f8f4858ffd958b38cc Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Sat, 19 Jul 2014 05:09:48 +0200 Subject: HTML: add event value to the detailed view. Event value is important in case of gas change and heading events. The value information show: mix and direction. Signed-off-by: Gehad elrobey Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- theme/list_lib.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'theme') diff --git a/theme/list_lib.js b/theme/list_lib.js index 1d0cd9076..0da11089b 100644 --- a/theme/list_lib.js +++ b/theme/list_lib.js @@ -747,7 +747,7 @@ Return the HTML string for a bookmark entry in the table. */ function get_bookmark_HTML(event) { - return '' + event.name + '' + int_to_time(event.time) + ''; + return '' + event.name + '' + int_to_time(event.time) + '' + event.value + ''; } /** @@ -758,7 +758,7 @@ function get_bookmarks_HTML(dive) if (dive.events <= 0) return ""; var result = ""; - result += '

Events

'; + result += '

Events

NameTime
'; for (var i in dive.events) { result += get_bookmark_HTML(dive.events[i]); } -- cgit v1.2.3-70-g09d2
NameTimeValue