Last change
on this file since 1657 was
486,
checked in by joachim, 18 years ago
|
svn -R propset svn:keywords "Id" .
added layout_application_/edit/create/view
and cleaned that up.
|
-
Property svn:keywords set to
Id
|
File size:
344 bytes
|
Rev | Line | |
---|
[383] | 1 | ## Script (Python) "navigationParent" |
---|
| 2 | ##bind container=container |
---|
| 3 | ##bind context=context |
---|
| 4 | ##bind namespace= |
---|
| 5 | ##bind script=script |
---|
| 6 | ##bind subpath=traverse_subpath |
---|
| 7 | ##parameters=obj=None,templateId=None |
---|
| 8 | ##title=returns the appropriate url for the parent object |
---|
| 9 | ## |
---|
| 10 | |
---|
| 11 | if obj is None: |
---|
| 12 | obj=context |
---|
| 13 | |
---|
| 14 | parent=obj.aq_parent |
---|
| 15 | |
---|
| 16 | return parent.absolute_url() |
---|
| 17 | |
---|
Note: See
TracBrowser for help on using the repository browser.