Commit 90acdd22 authored by Harm Munk's avatar Harm Munk
Browse files

Turned the Boolean and textual table entries into hyperlinks for the

table display mode page.
parent 8810046d
Pipeline #1586 skipped
......@@ -56,14 +56,17 @@ function formatField(observatory, name, field, referenceTime) {
break;
case 'boolean':
if (field.value) {
s += "<td class='true'>" + field.value + "</td>";
s += "<td class='true'>";
} else {
s += "<td class='false'>" + field.value + "</td>";
s += "<td class='false'>";
}
s += "<a href='/table.html?observatory=" +
observatory + "&field=" + name + "'>" + field.value + "</a></td>";
s += "<td>" + ts + "</td>";
break;
default:
s += "<td>" + field.value + "</td>";
s += "<td>" + "<a href='/table.html?observatory=" +
observatory + "&field=" + name + "'>" + field.value + "</td>";
s += "<td>" + ts + "</td>";
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment