[Cluster-devel] conga/luci/storage portlet_cluconfig_macro

rmccabe at sourceware.org rmccabe at sourceware.org
Tue Oct 23 15:48:08 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	RHEL4
Changes by:	rmccabe at sourceware.org	2007-10-23 15:48:08

Modified files:
	luci/storage   : portlet_cluconfig_macro 

Log message:
	Get rid of the blank portal item link under volume groups

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/portlet_cluconfig_macro.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1&r2=1.1.4.1

--- conga/luci/storage/portlet_cluconfig_macro	2006/06/30 17:00:02	1.1
+++ conga/luci/storage/portlet_cluconfig_macro	2007/10/23 15:48:08	1.1.4.1
@@ -17,12 +17,15 @@
             tal:content="item/Title|nothing">
             Selected Item Title</a>
         <tal:children condition="python: parent_shows_children or children">
+
+		<tal:block tal:condition="python: item and item.has_key('Title') and item['Title'].strip()">
         <a tal:condition="not: cur_item"
            tal:attributes="href item/absolute_url;
                            title item/Description|nothing;
                            class string: visualIconPadding;"
             tal:content="item/Title|nothing">
             Unselected Item Title</a>
+		</tal:block>
         </tal:children>
     </div>
 




More information about the Cluster-devel mailing list