[Zapp-cvs-commit] ZApp/zpt Generic_displayRelatedObjects.zpt,1.4,1.4.2.1
Brought to you by:
sspickle
|
From: <ssp...@us...> - 2003-10-08 20:37:52
|
Update of /cvsroot/zapp/ZApp/zpt
In directory sc8-pr-cvs1:/tmp/cvs-serv22274/zpt
Modified Files:
Tag: CMF_relations
Generic_displayRelatedObjects.zpt
Log Message:
put new relationship stuff in CMF_Relations branch..
Index: Generic_displayRelatedObjects.zpt
===================================================================
RCS file: /cvsroot/zapp/ZApp/zpt/Generic_displayRelatedObjects.zpt,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -C2 -d -r1.4 -r1.4.2.1
*** Generic_displayRelatedObjects.zpt 7 Aug 2003 17:51:55 -0000 1.4
--- Generic_displayRelatedObjects.zpt 8 Oct 2003 20:37:48 -0000 1.4.2.1
***************
*** 1,5 ****
<div tal:define="app python:here.findApplication(); appURL app/absolute_url;
! objRelations python:here.objectRelations( returnObjects=1 )">
<form action="" tal:attributes="action request/URL1" method="post">
<table >
<tr tal:condition="objRelations"><td> </td><td>Manager</td><td>ObjectID</td><td>Info</td><td>Context ID</td></tr>
--- 1,7 ----
<div tal:define="app python:here.findApplication(); appURL app/absolute_url;
! objRelations python:here.objectRelations( returnObjects=1 );
! managerIDs here/findSpecialistsForRelationship">
<form action="" tal:attributes="action request/URL1" method="post">
+ <span tal:content="managerIDs"/><br>
<table >
<tr tal:condition="objRelations"><td> </td><td>Manager</td><td>ObjectID</td><td>Info</td><td>Context ID</td></tr>
***************
*** 18,22 ****
<input tal:condition="objRelations" type="submit" value="Edit Selected Relations" name="editRelations_ui:method">
</td></tr>
! <tr><td colspan="3"><input type="submit" value="Relate Other Object" name="findNewRelationship_pt:method">
</td></tr>
</table>
--- 20,24 ----
<input tal:condition="objRelations" type="submit" value="Edit Selected Relations" name="editRelations_ui:method">
</td></tr>
! <tr tal:condition="managerIDs"><td colspan="3"><input type="submit" value="Relate Other Object" name="addRelationship_pt:method">
</td></tr>
</table>
|