summaryrefslogtreecommitdiffstats
path: root/openvpn-read-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn-read-html.lsp')
-rw-r--r--openvpn-read-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/openvpn-read-html.lsp b/openvpn-read-html.lsp
index fd08895..58c079d 100644
--- a/openvpn-read-html.lsp
+++ b/openvpn-read-html.lsp
@@ -18,8 +18,8 @@
<TD><?= html.link{value = view.url .. "/" .. view.conflistfiles[i].type .. "_config?name=" .. view.conflistfiles[i].name , label=view.conflistfiles[i].name } ?></TD>
<TD><?= view.conflistfiles[i].type ?></TD>
<TD><?= view.conflistfiles[i].status ?></TD>
- <TD><? if ( view.conflistfiles[i].clients > 0 ) then ?><?= html.link{value = view.url .. "/status_info?name=" .. view.conflistfiles[i].name , label=view.conflistfiles[i].clients } ?><? else ?><?= view.conflistfiles[i].clients ?><? end ?></TD>
- <TD style="color:red"><?= view.conflistfiles[i].err ?></TD>
+ <TD><? if ( view.conflistfiles[i].type == "server" ) then ?><? if ( view.conflistfiles[i].clients > 0 ) then ?><?= html.link{value = view.url .. "/status_info?name=" .. view.conflistfiles[i].name , label=view.conflistfiles[i].clients } ?><? else ?><?= view.conflistfiles[i].clients ?><? end ?><? end ?></TD>
+ <TD style="color:red"><i><?= view.conflistfiles[i].err ?></i></TD>
</TR>
<? end ?>
</TABLE>