Index: /trunk/grails-app/views/taskDetailed/show.gsp
===================================================================
--- /trunk/grails-app/views/taskDetailed/show.gsp	(revision 573)
+++ /trunk/grails-app/views/taskDetailed/show.gsp	(revision 574)
@@ -43,8 +43,28 @@
                 <richui:tabLabels>
                     <richui:tabLabel selected="${showTab.task}" title="Details" />
-                    <richui:tabLabel selected="${showTab.procedure}" title="Procedure" />
-                    <richui:tabLabel selected="${showTab.recurrence}" title="Recurrence" />
-                    <richui:tabLabel selected="${showTab.inventory}" title="Inventory" />
-                    <richui:tabLabel selected="${showTab.subTasks}" title="Sub Tasks" />
+                    <g:if test="${taskProcedureExits}">
+                        <richui:tabLabel selected="${showTab.procedure}" title="Procedure (!)" />
+                    </g:if>
+                    <g:else>
+                        <richui:tabLabel selected="${showTab.procedure}" title="Procedure" />
+                    </g:else>
+                    <g:if test="${taskRecurringScheduleExits}">
+                        <richui:tabLabel selected="${showTab.recurrence}" title="Recurrence (!)" />
+                    </g:if>
+                    <g:else>
+                        <richui:tabLabel selected="${showTab.recurrence}" title="Recurrence" />
+                    </g:else>
+                    <g:if test="${!inventoryMovementList.isEmpty()}">
+                        <richui:tabLabel selected="${showTab.inventory}" title="Inventory (${inventoryMovementList.size()})" />
+                    </g:if>
+                    <g:else>
+                        <richui:tabLabel selected="${showTab.inventory}" title="Inventory (0)" />
+                    </g:else>
+                    <g:if test="${subTaskInstanceTotal > 0}">
+                        <richui:tabLabel selected="${showTab.subTasks}" title="Sub Tasks (${subTaskInstanceTotal})" />
+                    </g:if>
+                    <g:else>
+                        <richui:tabLabel selected="${showTab.subTasks}" title="Sub Tasks (0)" />
+                    </g:else>
                 </richui:tabLabels>
 
@@ -732,5 +752,5 @@
 <!-- Start Sub Task tab -->
                     <richui:tabContent>
-                        <g:if test="${subTaskInstanceTotal >= 1}">
+                        <g:if test="${subTaskInstanceTotal > 0}">
                             <div class="list">
                                 <table>
