buildframework/helium/tools/common/templates/log/cc_summary_metadata_orm.html.ftl
branchhelium-9.0
changeset 618 df88fead2976
parent 587 85df38eb4012
child 628 7c4a911dc066
equal deleted inserted replaced
587:85df38eb4012 618:df88fead2976
    67 <tr>
    67 <tr>
    68 <td>${component.component}</td>
    68 <td>${component.component}</td>
    69     <#list colors?keys as type>
    69     <#list colors?keys as type>
    70         <#assign count =  table_info['jpasingle']['select count(m.id) from MetadataEntry m JOIN  m.priority as p JOIN m.component as c where (UPPER(p.priority)=\'${type?upper_case}\' and c.id=${component.id})'][0] >    
    70         <#assign count =  table_info['jpasingle']['select count(m.id) from MetadataEntry m JOIN  m.priority as p JOIN m.component as c where (UPPER(p.priority)=\'${type?upper_case}\' and c.id=${component.id})'][0] >    
    71         <#if type=='error'>
    71         <#if type=='error'>
    72             <#assign count_missing = table_info['jpasingle']['select count(w.id) from WhatLogEntry w JOIN w.component c where c.logPathID=${logfile.id} and w.missing=\'true\''][0]> 
    72             <#assign count_missing = table_info['jpasingle']['select count(w.id) from WhatLogEntry w JOIN w.component c where c.logPathID=${logfile.id} and c.id=${component.id} and w.missing=\'true\''][0]> 
    73             <#assign count = count?number + count_missing?number>
    73             <#assign count = count?number + count_missing?number>
    74         </#if>
    74         </#if>
    75         <#if (count?number > 0)>
    75         <#if (count?number > 0)>
    76 <td align="center" bgcolor="#${colors[type]}">${count}</td>
    76 <td align="center" bgcolor="#${colors[type]}">${count}</td>
    77         <#else>
    77         <#else>