Commit 8f1f8f62 by Nilu

minor modification to detailed report

parent 2a845e44
...@@ -396,21 +396,24 @@ ...@@ -396,21 +396,24 @@
</span> </span>
</div> </div>
<% <%
for(Tuple.T3 tuple : cultureFitData.get(cClass).get1()) if(detailed)
{ {
CultureNarrative cultureNarrative = (CultureNarrative) tuple.get2(); for(Tuple.T3 tuple : cultureFitData.get(cClass).get1())
String dotClass = cultureNarrative != null && cultureNarrative.getColorCode() != null ? cultureNarrative.getColorCode().getDotCSSClass() : ""; {
CultureNarrative cultureNarrative = (CultureNarrative) tuple.get2();
String dotClass = cultureNarrative != null && cultureNarrative.getColorCode() != null ? cultureNarrative.getColorCode().getDotCSSClass() : "";
%> %>
<div class="detail-tab-row" id="<%= ((CultureElement)tuple.get1()).getObjectID() %>"> <div class="detail-tab-row" id="<%= ((CultureElement)tuple.get1()).getObjectID() %>">
<div class="detail-tab-row-title col-md-4 col-sm-4 col-xs-4"> <div class="detail-tab-row-title col-md-4 col-sm-4 col-xs-4">
<span class="common-dot <%= dotClass %>"></span> &nbsp; <span class="common-dot <%= dotClass %>"></span> &nbsp;
<oneit:toString value="<%= tuple.get1() %>" mode="EscapeHTML"/> <oneit:toString value="<%= tuple.get1() %>" mode="EscapeHTML"/>
</div> </div>
<div class="detail-tab-row-text col-md-8 col-sm-8 col-xs-8"> <div class="detail-tab-row-text col-md-8 col-sm-8 col-xs-8">
<oneit:toString value="<%= cultureNarrative %>" mode="EscapeHTML"/> <oneit:toString value="<%= cultureNarrative %>" mode="EscapeHTML"/>
</div>
</div> </div>
</div>
<% <%
}
} }
} }
%> %>
......
Markdown is supported
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