[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/Browser - ConfigurationStatusWidget.py:1.3

Jim Fulton jim@zope.com
Sun, 1 Dec 2002 05:30:34 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/Browser
In directory cvs.zope.org:/tmp/cvs-serv2763

Modified Files:
	ConfigurationStatusWidget.py 
Log Message:
Changed to use a more compact rendering of status radio buttons.


=== Zope3/lib/python/Zope/App/OFS/Services/Browser/ConfigurationStatusWidget.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/OFS/Services/Browser/ConfigurationStatusWidget.py:1.2	Sat Nov 30 13:35:55 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/Browser/ConfigurationStatusWidget.py	Sun Dec  1 05:30:32 2002
@@ -28,10 +28,10 @@
     def __call__(self):
         checked = self._showData() or Unregistered        
         result = [
-            ('<input type="radio" name="%s" value="%s"%s> %s'
+            ('<input type="radio" name="%s" value="%s"%s>&nbsp;%s'
              % (self.name, v, (v == checked and ' checked' or ''), v)
              )
             for v in (Unregistered, Registered, Active)
             ]
-        return '<br />'.join(result)
+        return ' '.join(result)