pageTable = (pages, req) =>
  mkTable(
    [
      {
        label: req.__("Name"),
        key: (r) => link(`/page/${encodeURIComponent(r.name)}`, r.name),
      },
      {
        label: req.__("Edit"),
        key: (r) =>
          link(`/pageedit/edit/${encodeURIComponent(r.name)}`, req.__("Edit")),
      },
    ],
    pages
  )
Pages List
@param {*} pages
@param {object} req
@returns {Table}