app_files_table = (files, buildDirName, req) =>
  mkTable(
    [
      {
        label: req.__("Filename"),
        key: (r) => div(r.filename),
      },
      { label: req.__("Size (KiB)"), key: "size_kb", align: "right" },
      { label: req.__("Media type"), key: (r) => r.mimetype },
      {
        label: req.__("Open"),
        key: (r) =>
          link(
            `/files/serve/mobile_app/${buildDirName}/${r.filename}`,
            req.__("Open")
          ),
      },
      {
        label: req.__("Download"),
        key: (r) =>
          link(
            `/files/download/mobile_app/${buildDirName}/${r.filename}`,
            req.__("Download")
          ),
      },
    ],
    files
  )
@category server
@module routes/admin
@subcategory routes