Merge branch 'show-unflag-link-to-flagger'

This commit is contained in:
Kevin Morris 2022-08-18 16:01:38 -07:00
commit 93b4cec932
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -46,7 +46,7 @@ def make_context(request: Request, pkgbase: PackageBase,
).all() ).all()
] ]
context["unflaggers"] = context["comaintainers"].copy() context["unflaggers"] = context["comaintainers"].copy()
context["unflaggers"].append(pkgbase.Maintainer) context["unflaggers"].extend([pkgbase.Maintainer, pkgbase.Flagger])
context["packages_count"] = pkgbase.packages.count() context["packages_count"] = pkgbase.packages.count()
context["keywords"] = pkgbase.keywords context["keywords"] = pkgbase.keywords