Skip to content

Commit

Permalink
UI error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpassmore committed Sep 2, 2024
1 parent a1c1266 commit a282642
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webcontent/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ <h3 id="detail-config-heading">Configuration</h3>
jobDetailList += '<li><strong>Current Block<strong>: <p>'+jobObj.last_block_processed+'</p><li>'
jobDetailList += '<li><strong>Status<strong>: <lable class="badge '
+getBadgeType(jobObj.status)+'">'+jobObj.status+'</lable><li>'
if (jobObj.status === "ERROR" && jobObj.error_message !== "NA") {
jobDetailList += '<li><strong>Current Block<strong>: <p>'+jobObj.error_message+'</p><li>'
}
jobDetailList += '<li><strong>Actual Integrity Hash<strong>: <p>'+jobObj.actual_integrity_hash+'</p><li>'
jobDetailList += '<li><strong>Expected Integrity Hash<strong>: <p>'+jobObj.expected_integrity_hash+'</p><li>'
jobDetailList += '</ul>'
Expand Down

0 comments on commit a282642

Please sign in to comment.