mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[Advanced Logbook] Added duration as a column
This commit is contained in:
@@ -63,6 +63,9 @@ function updateRow(qso) {
|
||||
if ((user_options.datetime.show ?? 'true') == "true"){
|
||||
cells.eq(c++).text(qso.qsoDateTime);
|
||||
}
|
||||
if ((user_options.duration.show ?? 'true') == "true"){
|
||||
cells.eq(c++).text(qso.duration);
|
||||
}
|
||||
if ((user_options.last_modification.show ?? 'true') == "true"){
|
||||
cells.eq(c++).text(qso.last_modified);
|
||||
}
|
||||
@@ -283,6 +286,9 @@ function loadQSOTable(rows) {
|
||||
data.push(qso.qsoDateTime);
|
||||
}
|
||||
}
|
||||
if ((user_options.duration.show ?? 'true') == "true"){
|
||||
data.push(qso.duration);
|
||||
}
|
||||
if ((user_options.last_modification.show ?? 'true') == "true"){
|
||||
data.push(qso.last_modified);
|
||||
}
|
||||
@@ -1816,6 +1822,7 @@ function saveOptions() {
|
||||
type: 'post',
|
||||
data: {
|
||||
datetime: $('input[name="datetime"]').is(':checked') ? true : false,
|
||||
duration: $('input[name="duration"]').is(':checked') ? true : false,
|
||||
last_modification: $('input[name="last_modification"]').is(':checked') ? true : false,
|
||||
de: $('input[name="de"]').is(':checked') ? true : false,
|
||||
dx: $('input[name="dx"]').is(':checked') ? true : false,
|
||||
|
||||
Reference in New Issue
Block a user