From 0e2d5ceb83179af46b09bea544e5b49f15bfe24c Mon Sep 17 00:00:00 2001 From: Francesco Molitierno Date: Mon, 20 Sep 2021 13:28:26 +0200 Subject: [PATCH] fix voipblock app install/remove --- .../www/docroot/modals/applications-modal.lp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/decompressed/gui_file/www/docroot/modals/applications-modal.lp b/decompressed/gui_file/www/docroot/modals/applications-modal.lp index 06d59cce..c511559a 100644 --- a/decompressed/gui_file/www/docroot/modals/applications-modal.lp +++ b/decompressed/gui_file/www/docroot/modals/applications-modal.lp @@ -12,8 +12,8 @@ local app_list = { "luci", "aria2", "transmission", - "voipblock_for_mmpbx", - "voipblock_for_asterisk", + "voipblockmmpbx", + "voipblockasterisk", "blacklist", "xupnp", "telstra", @@ -217,9 +217,9 @@ if StateParams["voipblock_for_mmpbx"] ~= nil then html[#html+1] = "
" html[#html+1] = "
" if mapParams["voipblock_for_mmpbx"] and mapParams["voipblock_for_mmpbx"] == "1" then - html[#html+1] = ui_helper.createSimpleButton(T"Remove".." Voipblock for mmpbx", "fa fa-times-circle", btn_table.voipblock_for_mmpbx.remove) + html[#html+1] = ui_helper.createSimpleButton(T"Remove".." Voipblock for mmpbx", "fa fa-times-circle", btn_table.voipblockmmpbx.remove) else - html[#html+1] = ui_helper.createSimpleButton(T"Install".." Voipblock for mmpbx", "fa fa-download", btn_table.voipblock_for_mmpbx.install) + html[#html+1] = ui_helper.createSimpleButton(T"Install".." Voipblock for mmpbx", "fa fa-download", btn_table.voipblockmmpbx.install) end html[#html+1] = "" html[#html+1] = "
" @@ -236,9 +236,9 @@ if StateParams["voipblock_for_asterisk"] ~= nil then html[#html+1] = "
" html[#html+1] = "
" if mapParams["voipblock_for_asterisk"] and mapParams["voipblock_for_asterisk"] == "1" then - html[#html+1] = ui_helper.createSimpleButton(T"Remove".." Voipblock for asterisk", "fa fa-times-circle", btn_table.voipblock_for_asterisk.remove) + html[#html+1] = ui_helper.createSimpleButton(T"Remove".." Voipblock for asterisk", "fa fa-times-circle", btn_table.voipblockasterisk.remove) else - html[#html+1] = ui_helper.createSimpleButton(T"Install".." Voipblock for asterisk", "fa fa-download", btn_table.voipblock_for_asterisk.install) + html[#html+1] = ui_helper.createSimpleButton(T"Install".." Voipblock for asterisk", "fa fa-download", btn_table.voipblockasterisk.install) end html[#html+1] = "" html[#html+1] = "
"