diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-01-16 21:24:16 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-01-16 21:24:16 +0000 |
commit | e740bc9cd4a3f8513093958a82252a5d32203edb (patch) | |
tree | b01cec7653e57e30eb5acc0dd1fec89fd75b787f /tcpproxy-smtpstatus-html.lsp | |
parent | f7bba5fcde5a5674a08f2f62236a7b3ab4be8108 (diff) | |
download | acf-tcpproxy-e740bc9cd4a3f8513093958a82252a5d32203edb.tar.bz2 acf-tcpproxy-e740bc9cd4a3f8513093958a82252a5d32203edb.tar.xz |
Tested by removing expected packages, files, and directories. Fixed resulting bugs.
git-svn-id: svn://svn.alpinelinux.org/acf/tcpproxy/trunk@1683 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'tcpproxy-smtpstatus-html.lsp')
-rw-r--r-- | tcpproxy-smtpstatus-html.lsp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tcpproxy-smtpstatus-html.lsp b/tcpproxy-smtpstatus-html.lsp index 3a46b19..0e3384f 100644 --- a/tcpproxy-smtpstatus-html.lsp +++ b/tcpproxy-smtpstatus-html.lsp @@ -7,7 +7,11 @@ require("viewfunctions") <H1>SMTP Proxy Status</H1> <DL> -<% displayitem(view.value.version) %> +<% displayitem(view.value.version) +if view.value.version and view.value.version.errtxt and session.permissions.apk and session.permissions.apk.install then +%> + <a href="<%= html.html_escape(page_info.script .. "/apk-tools/apk/install?package="..view.value.version.name) %>">Install</a> +<% end %> </DL> <% if viewlibrary and viewlibrary.dispatch_component then |