Skip to content

Commit

Permalink
Make the 404 message for advisories more generic (#807)
Browse files Browse the repository at this point in the history
  • Loading branch information
tchoutri authored Dec 27, 2024
1 parent 1b6cb69 commit fa40101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/FloraWeb/Pages/Templates/Packages.hs
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ showPackageSecurityPage namespace packageName advisoryPreviews = do
advisoriesListing :: Vector PackageAdvisoryPreview -> FloraHTML
advisoriesListing advisoryPreviews =
if Vector.null advisoryPreviews
then p_ [] "No advisories found for this package."
then p_ [] "No advisories found."
else div_ [class_ "advisory-list"] $ do
div_ [class_ "advisory-list__head"] $ do
div_ [class_ "advisory-list__header"] "ID"
Expand Down

0 comments on commit fa40101

Please sign in to comment.