<% if (corrosionChooseMode == undefined && companyMessageMode == undefined) { %> <% if (anomaly && !anomaly.targetViewMode && !targetMode) { %> <% if(projectKind === "CONDITIONAL_REPORT") { %> Back to Observation List <% } else { %> Back to Tag List <% } %> <% }; %> <% if (anomaly) { %>

<%= anomaly.name %>

undo
redo
<% }; %> <% if (questionList && questionList.help && questionList.help !== "") { %>

<%= questionList.help %>

<% }; %> <% if (anomaly && anomaly.targetViewMode) { %>
Image (<%= (anomaly) ? anomaly.anomalyImageCount : "0" %>),
Image 360 (<%= (anomaly) ? anomaly.anomalyImage360Count : "0" %>)
Video (<%= (anomaly) ? anomaly.anomalyVideoCount : "0" %>),
Video 360 (<%= (anomaly) ? anomaly.anomalyVideo360Count : "0" %>),
Thermal (<%= (anomaly) ? anomaly.anomalyThermalCount : "0" %>)
<% }; %> <% if (questionList && questionList.type === "FREE_TEXT") { %>
<% if (anomaly && !anomaly.targetViewMode) { %> <% } else { %> <% }; %>
<% }; %>
<% if(questionList && questionList.type === "SINGLE"){ %>
    <% for(var i in questionList.options[0]) { %>
  • checked <% }; %> >
  • <% }; %>
<% }; %> <% if(questionList && questionList.type === "LIST"){ %>
    <% for(var i in questionList.options[0]) { %>
  • checked <% }; %> >
  • <% }; %>
<% }; %> <% if(questionList && questionList.type === "MATRIX"){ %> <% for(var i in questionList.options[0]) { %> <% }; %> <% for(var j in questionList.options[1]) { %> <% for(var k in questionList.options[0]) { %> <% }; %> <% }; %>
<% if (anomaly && anomaly.targetViewMode) { %> <%= questionList.options[0][i] %> <% } else { %> <% } %>
<% if (anomaly && anomaly.targetViewMode) { %> <%= questionList.options[1][j] %> <% } else { %> <% } %> style="width: 100%;" <% }; %>> <% if (combos && combos[k] && combos[k].values) {%> <% } else { %> style="max-width: none;" <% }; %> value="<% if (currentAnswers && currentAnswers.answers[j][k]) { %><%= currentAnswers.answers[j][k] %><% }; %>" <% if(currentAnswers && currentAnswers.answers[j][k] && currentAnswers.answers[j][k].length > 10) { %> title="<%= currentAnswers.answers[j][k] %>" <% }; %> <% if(anomaly && anomaly.targetViewMode) { %> readonly style="cursor: default;" <% }; %>> <% }; %>
<% if(!anomaly || !anomaly.targetViewMode) { %>
<% if(!anomaly.prePopulate) { %> <% }; %> <% if(!anomaly.prePopulate) { %> <% }; %> <% }; %>
<% }; %>
    <% for(var i in selectParams.anomalySeverityList) { %> <% if(selectParams.anomalySeverityList[i].key != "NOT_REQUIRED") { %>
  • checked <% } else if(anomaly && anomaly.severity == "NOT_REQUIRED" && selectParams.anomalySeverityList[i].key == "COMMENT") { %> checked <% }; %> >
  • <% }; %> <% }; %>
<% if(anomaly && anomaly.answerStatus) { %>
    <% for(var i in selectParams.answerStatusList) { %>
  • checked <% }; %> >
  • <% }; %>
<% }; %>
<% if (anomaly && !anomaly.targetViewMode) { %> <% } else { %>

<%- (anomaly && anomaly.description) ? anomaly.description : '' %>

<% }; %>
<% if (anomaly && !anomaly.targetViewMode) { %> <% if (anomaly.prePopulate) { %> Pre-Populate <% }; %> Save Cancel <% }; %>
<% }; %> <% if (corrosionChooseMode == true) { %>
<% }; %> <% if (companyMessageMode == true) { %>

<%= companyMessage %>

<% }; %>