diff --git a/applications/manifest.moon b/applications/manifest.moon index 59ee6c2..938aecd 100644 --- a/applications/manifest.moon +++ b/applications/manifest.moon @@ -118,17 +118,20 @@ class MoonRocksManifest extends lapis.Application @pager = Manifests\paginated [[ order by id asc - ]], prepare_results: (manifests) -> - ManifestAdmins\include_in manifests, "manifest_id", flip: true, many: true - mas = {} - - for m in *manifests - if admins = m.manifest_admins - for a in *admins - table.insert mas, a - - Users\include_in mas, "user_id" - manifests + ]], { + per_page: 50 + prepare_results: (manifests) -> + ManifestAdmins\include_in manifests, "manifest_id", flip: true, many: true + mas = {} + + for m in *manifests + if admins = m.manifest_admins + for a in *admins + table.insert mas, a + + Users\include_in mas, "user_id" + manifests + } @manifests = @pager\get_page @page render: true diff --git a/views/manifests.moon b/views/manifests.moon index 2873bd0..31a1818 100644 --- a/views/manifests.moon +++ b/views/manifests.moon @@ -7,7 +7,7 @@ class Manifests extends require "widgets.page" span class: "header_count", "(#{@pager\total_items!})" p -> - text "Manifests are collections of modules that you can install from. The " + text "Manifests are collections of modules in a single namespace that you can install from. The " a href: @url_for("manifest", manifest: "root"), -> code "root" text " manifest is the default install location for LuaRocks.org. You can also " a href: @url_for("new_manifest"), "create your own manifest."