[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/cluster form-macros



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe sourceware org	2007-02-02 01:03:46

Modified files:
	luci/cluster   : form-macros 

Log message:
	RHEL4 multicast option is boolean and requires an address if true.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.173&r2=1.174

--- conga/luci/cluster/form-macros	2007/02/02 00:11:05	1.173
+++ conga/luci/cluster/form-macros	2007/02/02 01:03:46	1.174
@@ -986,7 +986,12 @@
 							onClick="disable_mcast('mcast_address');"
 							tal:attributes="checked python: clusterinfo['is_mcast'] != 'True'"
 						/>
-						Let cluster choose the multicast address
+						<tal:block tal:condition="python:os_version == 'rhel4'">
+							Do not use multicast
+						</tal:block>
+						<tal:block tal:condition="python:os_version != 'rhel4'">
+							Let cluster choose the multicast address
+						</tal:block>
 					</td>
 				</tr>
 
@@ -997,12 +1002,20 @@
 							tal:attributes="checked python: clusterinfo['is_mcast'] == 'True'"
 
 						/>
-						Specify the multicast address manually
+						<tal:block tal:condition="python:os_version == 'rhel4'">
+							Use multicast
+						</tal:block>
+						<tal:block tal:condition="python:os_version != 'rhel4'">
+							Specify the multicast address manually
+						</tal:block>
 					</td>
 				</tr>
 
 				<tr class="systemsTable">
-					<td class="systemsTable" colspan="2">
+					<td class="systemsTable">
+						Multicast address
+					</td>
+					<td class="systemsTable">
 						<input type="text" name="mcast_address" id="mcast_address"
 							tal:attributes="
 								disabled python: clusterinfo['is_mcast'] != 'True' and '1' or '0';


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]