cookutils diff lighttpd/index.cgi @ 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 | 0585b2e71bfc |
children | ef2c335c986f |
line diff
1.1 --- a/lighttpd/index.cgi Tue Oct 17 14:25:04 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