Working on Family

svn: r19641
This commit is contained in:
Doug Blank
2012-05-25 01:45:16 +00:00
parent bb1bf9ac7a
commit 9ca1bd92fb
6 changed files with 75 additions and 20 deletions

View File

@@ -568,7 +568,10 @@ def children_table(obj, user, action, url=None, *args):
count += 1
table.links(links)
retval += table.get_html()
retval += nbsp("") # to keep tabs same height
if user.is_superuser and url and action == "view":
retval += make_button(_("Add child"), (url + "/child/add") % args)
else:
retval += nbsp("") # to keep tabs same height
return retval
## FIXME: these dji function wrappers just use the functions