def info():

    def prep(r):
        if r.representation == "xls":
            table = r.table
            table.alert_id.represent = None
            table.language.represent = None
            table.category.represent = None
            table.response_type.represent = None
            
            list_fields = ["alert_id",
                           "language",
                           "category",
                           (T("Event Type"), "event_type_id$name"),
                           "response_type",
                           "audience",
                           "event_code",
                           (T("Sender Name"), "sender_name"),
                           "headline",
                           "description",
                           "instruction",
                           "contact",
                           "parameter",
                           ]

            s3db.configure("cap_info",
                           list_fields = list_fields,
                           )

        result = info_prep(r)
        if result:
            if not r.component and r.representation == "html":
                s3.crud.submit_style = "hide"
                s3.crud.custom_submit = (("add_language",
                                          T("Save and add another language..."),
                                          "button small",
                                          ),)

        return result
    s3.prep = prep

    def postp(r, output):
        if r.representation == "html":
            if r.component_name == "area":
                update_url = URL(f="area", args=["[id]"])
                s3_action_buttons(r, update_url=update_url)

            if not r.component and "form" in output:
                set_priority_js()

        return output
    s3.postp = postp

    output = s3_rest_controller(rheader = s3db.cap_rheader)
    return output

# -----------------------------------------------------------------------------
Internal method used as get_result_hook for Rollback.
dataset/ETHPy150Open sahana/eden/controllers/cap.py/info--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/datastore/datastore_rpc.py/TransactionalConnection.__rollback_hook