Add direct links to each source file
commit9df1bd5fe2f781d1b8341496378c605b34cde64f
authorJanne Heß <jannehess@gmail.com>
Sun, 12 Feb 2017 16:37:38 +0000 (12 17:37 +0100)
committerLukas Fleischer <lfleischer@archlinux.org>
Sun, 12 Feb 2017 16:53:13 +0000 (12 17:53 +0100)
tree8be87405f43e58da970fb2d6f3c2b52d4088d838
parent3a167a109b240ef7c8c2fa7363156456c6861521
Add direct links to each source file

Currently, each source file which is an external link (http://,
https://, ...) is a clickable link.

This commit extends the behaviour by making files from the repository
clickable as well. The link brings the user to the corresponding cgit
page.

Also, the link to the PKGBUILD is altered to make the configuration more
consistent.

Signed-off-by: Janne Heß <jannehess@gmail.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
conf/config.proto
web/lib/pkgfuncs.inc.php
web/template/pkg_details.php