Skip to content

Commit

Permalink
fix voipblock app install/remove
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancYescO committed Sep 20, 2021
1 parent 5b4ef7f commit 0e2d5ce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions decompressed/gui_file/www/docroot/modals/applications-modal.lp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ local app_list = {
"luci",
"aria2",
"transmission",
"voipblock_for_mmpbx",
"voipblock_for_asterisk",
"voipblockmmpbx",
"voipblockasterisk",
"blacklist",
"xupnp",
"telstra",
Expand Down Expand Up @@ -217,9 +217,9 @@ if StateParams["voipblock_for_mmpbx"] ~= nil then
html[#html+1] = "<br/>"
html[#html+1] = "<br/>"
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] = "</fieldset>"
html[#html+1] = "<br/>"
Expand All @@ -236,9 +236,9 @@ if StateParams["voipblock_for_asterisk"] ~= nil then
html[#html+1] = "<br/>"
html[#html+1] = "<br/>"
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] = "</fieldset>"
html[#html+1] = "<br/>"
Expand Down

0 comments on commit 0e2d5ce

Please sign in to comment.