diff options
Diffstat (limited to 'freeradius3-listmacauthfiles-html.lsp')
-rw-r--r-- | freeradius3-listmacauthfiles-html.lsp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/freeradius3-listmacauthfiles-html.lsp b/freeradius3-listmacauthfiles-html.lsp index b9972f9..01b230f 100644 --- a/freeradius3-listmacauthfiles-html.lsp +++ b/freeradius3-listmacauthfiles-html.lsp @@ -24,6 +24,7 @@ html = require("acf.html") <% htmlviewfunctions.displaycommandresults({"editmacauthfile"}, session) %> <% local header_level = htmlviewfunctions.displaysectionstart(cfe({label="MAC Authentication Configuration"}), page_info) %> +<% if #view.value>0 then %> <table id="list" class="tablesorter"><thead> <tr> <th>Action</th> @@ -48,4 +49,7 @@ html = require("acf.html") </tr> <% end %> </tbody></table> +<% else %> +<p>No files found</p> +<% end %> <% htmlviewfunctions.displaysectionend(header_level) %> |