diff options
Diffstat (limited to 'freeradius3-listpasswdfiles-html.lsp')
-rw-r--r-- | freeradius3-listpasswdfiles-html.lsp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/freeradius3-listpasswdfiles-html.lsp b/freeradius3-listpasswdfiles-html.lsp index e305a23..d43af2b 100644 --- a/freeradius3-listpasswdfiles-html.lsp +++ b/freeradius3-listpasswdfiles-html.lsp @@ -22,6 +22,7 @@ html = require("acf.html") </script> <% local header_level = htmlviewfunctions.displaysectionstart(cfe({label="Passwd Configuration"}), page_info) %> +<% if #view.value>0 then %> <table id="list" class="tablesorter"><thead> <tr> <th>Action</th> @@ -46,4 +47,7 @@ html = require("acf.html") </tr> <% end %> </tbody></table> +<% else %> +<p>No files found</p> +<% end %> <% htmlviewfunctions.displaysectionend(header_level) %> |