Skip to content

Commit 167625e

Browse files
Merge pull request #34 from ISISComputingGroup/Ticket4703_report_disconnected_blocks
Make alarm text a hyperlink to documentation
2 parents 1a224d1 + 375a307 commit 167625e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

front_end/display_blocks.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,10 @@ function writeRangeInfo(nodeBlock, rc_inrange) {
405405
}
406406

407407
function writeAlarmInfo(nodeBlock, alarm) {
408-
var nodeBlockAlarm = document.createElement("span");
408+
var nodeBlockAlarm = document.createElement("a");
409409
nodeBlockAlarm.style = "color:red"
410+
nodeBlockAlarm.href = "https://github.com/ISISComputingGroup/ibex_user_manual/wiki/Blocks#alarms"
411+
nodeBlockAlarm.target = "_blank"
410412
nodeBlockAlarm.appendChild(document.createTextNode("(" + alarm + ")"));
411413
nodeBlock.appendChild(nodeBlockAlarm);
412414
}

0 commit comments

Comments
 (0)