mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: show unflag link to flagger
While the flagger is allowed to unflag a package, the link to do so is hidden from them. Fix by adding the flagger to the unflag list. Fix #380
This commit is contained in:
parent
15d016eb70
commit
33bf5df236
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ def make_context(request: Request, pkgbase: PackageBase,
|
|||
).all()
|
||||
]
|
||||
context["unflaggers"] = context["comaintainers"].copy()
|
||||
context["unflaggers"].append(pkgbase.Maintainer)
|
||||
context["unflaggers"].extend([pkgbase.Maintainer, pkgbase.Flagger])
|
||||
|
||||
context["packages_count"] = pkgbase.packages.count()
|
||||
context["keywords"] = pkgbase.keywords
|
||||
|
|
Loading…
Add table
Reference in a new issue