From d86835d5cf124e2c48eae9f3b7e3ba235c229614 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Tue, 23 Jul 2013 12:58:57 +0200 Subject: list extension modules --- app/views/phones/show.html.haml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app') 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} + -- cgit v1.2.3