buildframework/helium/external/helium-antlib/metadata/src/templates/summary.html.ftl
changeset 179 d8ac696cc51f
parent 1 be27ed110b50
--- a/buildframework/helium/external/helium-antlib/metadata/src/templates/summary.html.ftl	Wed Oct 28 14:39:48 2009 +0000
+++ b/buildframework/helium/external/helium-antlib/metadata/src/templates/summary.html.ftl	Wed Dec 23 19:29:07 2009 +0200
@@ -97,27 +97,29 @@
     </@helium_logger_node_head>
     <@helium_logger_node_content nodeid="${helium_node_id}">
         <#list component_ids as component_id>
-            <#assign helium_node_id = helium_node_id + 1>
-            <@helium_logger_node_head nodeid="${helium_node_id}" title="${component_table['${component_id}']}">
+            <#if "${component_table['${component_id}']}" != "general" >
+                <#assign helium_node_id = helium_node_id + 1>
+                <@helium_logger_node_head nodeid="${helium_node_id}" title="${component_table['${component_id}']}">
+                    <#list priority_ids as priority>
+                        <#assign priority_text = "${priority_table['${priority}']}"?lower_case>
+                        <#assign priority_count = "${table_info['select count(data) as COUNT from metadata where logpath_id=${logpath} and priority_id = ${priority} and component_id = ${component_id}'][0]['COUNT']}" >
+                        <@logfile_severity "${component_table['${component_id}']}", "${priority_text}", 
+                                "${priority_count}", 
+                                "${helium_node_id}" />
+                    </#list>
+                </@helium_logger_node_head>
+                <@helium_logger_node_content nodeid="${helium_node_id}">
                 <#list priority_ids as priority>
-                    <#assign priority_text = "${priority_table['${priority}']}"?lower_case>
-                    <#assign priority_count = "${table_info['select count(data) as COUNT from metadata where logpath_id=${logpath} and priority_id = ${priority} and component_id = ${component_id}'][0]['COUNT']}" >
-                    <@logfile_severity "${component_table['${component_id}']}", "${priority_text}", 
-                            "${priority_count}", 
-                            "${helium_node_id}" />
+                    <#list table_info['select * from metadata where logpath_id = ${logpath} and priority_id = ${priority} and component_id = ${component_id}'] as recordentry >
+                        <#-- <#if sublog?node_name == "logfile"> --> 
+                            <@logfile_entry_detail recordentry, "${helium_node_id}" />
+                        <#-- <#elseif sublog?node_name == "log">
+                            <@antlognode sublog/>
+                        </#if> -->
+                    </#list>
                 </#list>
-            </@helium_logger_node_head>
-            <@helium_logger_node_content nodeid="${helium_node_id}">
-            <#list priority_ids as priority>
-                <#list table_info['select * from metadata where logpath_id = ${logpath} and priority_id = ${priority} and component_id = ${component_id}'] as recordentry >
-                    <#-- <#if sublog?node_name == "logfile"> --> 
-                        <@logfile_entry_detail recordentry, "${helium_node_id}" />
-                    <#-- <#elseif sublog?node_name == "log">
-                        <@antlognode sublog/>
-                    </#if> -->
-                </#list>
-            </#list>
-            </@helium_logger_node_content>
+                </@helium_logger_node_content>
+            </#if>
         </#list>
     </@helium_logger_node_content>
 </#list>