From 31f68d1ea1390017773e691cccd0e6f9cc1fd0a7 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 23 Feb 2011 14:24:20 +0000 Subject: Added searchdatabase action --- kamailio-viewtable-html.lsp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'kamailio-viewtable-html.lsp') diff --git a/kamailio-viewtable-html.lsp b/kamailio-viewtable-html.lsp index 7d0aa41..f0c5ff9 100644 --- a/kamailio-viewtable-html.lsp +++ b/kamailio-viewtable-html.lsp @@ -41,8 +41,11 @@ <% end %> +<% if #form.value.entries.value == 0 then %> +

No entries found

+<% end %> -<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("createtableentry") then +<% if page_info.action == "viewtable" and viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("createtableentry") then viewlibrary.dispatch_component("createtableentry", {table=form.value.table.value}) end %> -- cgit v1.2.3