def document_rheader(r):
    if r.representation == "html":
        doc_document = r.record
        if doc_document:
            #rheader_tabs = s3_rheader_tabs(r, document_tabs(r))
            table = db.doc_document
            rheader = DIV(B("%s: " % T("Name")), doc_document.name,
                        TABLE(TR(
                                TH("%s: " % T("File")), table.file.represent( doc_document.file ),
                                TH("%s: " % T("URL")), table.url.represent( doc_document.url ),
                                ),
                                TR(
                                TH("%s: " % ORGANISATION), table.organisation_id.represent( doc_document.organisation_id ),
                                TH("%s: " % T("Person")), table.person_id.represent( doc_document.organisation_id ),
                                ),
                            ),
                        #rheader_tabs
                        )
            return rheader
    return None

# -----------------------------------------------------------------------------
dataset/ETHPy150Open sahana/eden/controllers/doc.py/document_rheader/original