summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-07-23 12:58:57 +0200
committerPeter Kozak <spag@golwen.net>2013-07-23 12:58:57 +0200
commitd86835d5cf124e2c48eae9f3b7e3ba235c229614 (patch)
tree325d91c5a1a1b9f436982f5dbacfb8972a5fa970 /app
parent95cc4e82b1818c9adb2525e2787a0fb0d31955a8 (diff)
list extension modules
Diffstat (limited to 'app')
-rw-r--r--app/views/phones/show.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/phones/show.html.haml b/app/views/phones/show.html.haml
index 1996d48..1e9c7ed 100644
--- a/app/views/phones/show.html.haml
+++ b/app/views/phones/show.html.haml
@@ -96,3 +96,12 @@
= render "phone_sip_accounts/index_core", :phone_sip_accounts => @phone.phone_sip_accounts
= render :partial => 'shared/create_link', :locals => {:parent => @phone, :child_class => PhoneSipAccount}
+
+.row
+ .span12
+ %h2= t("extension_modules.index.page_title")
+ - if @phone.extension_modules.any?
+ = render "extension_modules/index_core", :extension_modules => @phone.extension_modules
+
+ = render :partial => 'shared/create_link', :locals => {:parent => @phone, :child_class => ExtensionModule}
+