loops/browser/configure.zcml
helmutm 9d65e615b9 Added task_details view
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@92 fd906abe-77d9-0310-91a1-e0d9ade77398
2004-08-29 08:21:41 +00:00

54 lines
1.3 KiB
XML

<!-- $Id$ -->
<configure
xmlns:zope="http://namespaces.zope.org/zope"
xmlns="http://namespaces.zope.org/browser"
i18n_domain="zope"
>
<!-- Backward compatibility -->
<zope:modulealias module="loops" alias="src.loops" />
<addform
label="Add Task"
name="AddTask.html"
schema="src.loops.interfaces.ITask"
content_factory="src.loops.task.Task"
fields="title"
permission="zope.ManageContent"
/>
<addMenuItem
class="src.loops.task.Task"
title="Task"
description="A Task is a piece of work or something else a resource may be allocated to"
permission="zope.ManageContent"
view="AddTask.html"
/>
<editform
label="Edit Task"
name="edit.html"
schema="src.loops.interfaces.ITask"
for="src.loops.interfaces.ITask"
permission="zope.ManageContent"
menu="zmi_views" title="Edit"
/>
<containerViews
for="src.loops.interfaces.ITask"
index="zope.View"
contents="zope.View"
add="zope.ManageContent"
/>
<page
name="details.html"
for="src.loops.interfaces.ITask"
class=".task.TaskDetails"
template="task_details.pt"
permission="zope.View"
menu="zmi_views" title="Details"
/>
</configure>