[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/index - subscription_control.pt:1.3

Guido van Rossum guido@python.org
Fri, 6 Dec 2002 08:26:16 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/index
In directory cvs.zope.org:/tmp/cvs-serv12855

Modified Files:
	subscription_control.pt 
Log Message:
Hook up registerEverything to user interface.
Report success of all calls.


=== Zope3/lib/python/Zope/App/index/subscription_control.pt 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/index/subscription_control.pt:1.2	Thu Dec  5 10:43:33 2002
+++ Zope3/lib/python/Zope/App/index/subscription_control.pt	Fri Dec  6 08:26:13 2002
@@ -12,9 +12,15 @@
 
     <span tal:condition="request/callSubscribe|nothing" tal:omit-tag="">
         <span tal:define="dummy context/subscribe" tal:omit-tag=""/>
+        Successfully subscribed.
     </span>
     <span tal:condition="request/callUnsubscribe|nothing" tal:omit-tag="">
         <span tal:define="dummy context/unsubscribe" tal:omit-tag=""/>
+        Successfully unsubscribed.
+    </span>
+    <span tal:condition="request/callRegisterExisting|nothing" tal:omit-tag="">
+        <span tal:define="dummy context/registerExisting" tal:omit-tag=""/>
+        Registration done.
     </span>
 
     <form method="POST">
@@ -26,6 +32,11 @@
            Subscription state: OFF
            <input type="submit" value="Subscribe" name="callSubscribe" />
        </span>
+    </form>
+
+    <form method="POST">
+        <input type="submit" value="Register Existing Objects"
+               name="callRegisterExisting" />
     </form>
 
   </div>