cookutils rev 981
lighttpd/index.cgi: show '(B)LFS' button on the package's page
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 20 11:11:10 2017 +0300 (2017-10-20) |
parents | 1dab9ceec5ea |
children | ef2c335c986f |
files | lighttpd/index.cgi |
line diff
1.1 --- a/lighttpd/index.cgi Thu Oct 19 23:33:57 2017 +0300 1.2 +++ b/lighttpd/index.cgi Fri Oct 20 11:11:10 2017 +0300 1.3 @@ -668,6 +668,9 @@ 1.4 [ -d "$wok/$pkg/install/usr/share/info" ] && 1.5 echo "<a class='button icon doc$(active info)' href='$base/$pkg/info/#Top'>info</a>" 1.6 1.7 + [ -n "$LFS" ] && 1.8 + echo "<a class='button icon doc' href='$LFS' target='_blank' rel='noopener noreferrer'>(B)LFS</a>" 1.9 + 1.10 [ -s "$log" ] && 1.11 echo "<a class='button icon log$(active log)' href='$base/$pkg/log/'>logs</a>" 1.12