Link to the package from the lint warnings page

This commit is contained in:
Christopher Baines 2019-09-01 17:52:12 +01:00
parent 14fab21dc1
commit 514933db47

View file

@ -801,7 +801,12 @@
package-name package-version file line-number column-number
message)
`(tr
(td ,package-name " @ " ,package-version)
(td (a (@ (href ,(string-append
(string-join
(drop-right (string-split path-base #\/) 1)
"/")
"/package/" package-name "/" package-version)))
,package-name " @ " ,package-version))
,@(if (member "linter" fields)
`((td (span (@ (style "font-family: monospace; display: block;"))
,lint-checker-name)