diff --git a/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm b/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm index 217fc6e3cb..75c98184fb 100644 --- a/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm +++ b/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm @@ -70,80 +70,80 @@ $Id$

Outgoing Call Routing

-
-
- -
+
Here you can manage your dial plans which are used to route outgoing calls from your local extensions.
+ +
+ +
- <% for i, plan in pairs(ast.dialplan.plans()) do %> -
- - - - - + <% for i, plan in pairs(ast.dialplan.plans()) do %> +
+
- Dialplan <%=plan.name%> - - - Remove this dialplan - -
+ + + + - - <% local zones_used = { } %> - <% for i, zone in ipairs(plan.zones) do zones_used[zone.name] = true %> - - - - - <% end %> + + <% local zones_used = { } %> + <% for i, zone in ipairs(plan.zones) do zones_used[zone.name] = true %> + + + + + <% end %> - - + - - + + +     + Manage dialzones + + + -
+ Dialplan <%=plan.name%> + + + Remove this dialplan + +
- └ Dialzone <%=zone.name%> -

- Description: <%=zone.description%>
- Lines: - <%=ast.tools.hyperlinks( - zone.trunks, function(v) - return luci.dispatcher.build_url("admin", "asterisk", "trunks", "%s") % v:lower() - end - )%>
- Matches: - <%=format_matches(zone)%> -

-
- - Edit dialzone - - - Remove from this dialplan - -
+ └ Dialzone <%=zone.name%> (<%=zone.description%>) +

+ Lines: + <%=ast.tools.hyperlinks( + zone.trunks, function(v) + return luci.dispatcher.build_url("admin", "asterisk", "trunks", "%s") % v:lower() + end + )%>
+ Matches: + <%=format_matches(zone)%> +

+
+ + Edit dialzone + + + Remove from this dialplan + +
-
-
+
+ - -     - Manage dialzones -
+ -
-
-
- <% end %> +
+
+
+ <% end %>