[Zope-CVS] CVS: Packages/JobBoardEx/Views/Browser - browser.zcml:1.3

Barry Warsaw barry@wooz.org
Wed, 20 Mar 2002 17:31:24 -0500


Update of /cvs-repository/Packages/JobBoardEx/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv3166/Views/Browser

Modified Files:
	browser.zcml 
Log Message:
Add a view on the IJobList for the ApproveJobs page.

In the JobView protectClass, add access to the shared_display method
and remove the back method (since it's now gone).


=== Packages/JobBoardEx/Views/Browser/browser.zcml 1.2 => 1.3 ===
 />
 
+<browser:view for=".JobBoardEx.IJobList."
+              name="ApproveJobs"
+              factory=".JobBoardEx.Views.Browser.ApproveJobs." />
+
 <browser:defaultView for=".JobBoardEx.IJobList."
               name="summary"
               factory=".JobBoardEx.Views.Browser.JobListView.JobListSummaryView" />
 
 <security:protectClass name=".JobBoardEx.Views.Browser.JobView."
                        permission_id="Zope.View"
-                       methods="index, simpleView, back,
+                       methods="index, simpleView,
 				getSubmitter, getSummary, getDescription,
-				getContact"
+				getContact, shared_display"
 />
 
 <browser:view for=".JobBoardEx.IJob."