From 662751354b709cff53dd37324026fa36cb360c9e Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sun, 20 Jul 2014 00:53:31 +0000 Subject: [PATCH] Add Cisco SPA expansion 1 and 2 to the spa504g device template --- .../provision/cisco/spa504g/{$mac}.xml | 77 ++++--------------- 1 file changed, 13 insertions(+), 64 deletions(-) diff --git a/resources/templates/provision/cisco/spa504g/{$mac}.xml b/resources/templates/provision/cisco/spa504g/{$mac}.xml index 8cf6f8d6b7..767ace380b 100644 --- a/resources/templates/provision/cisco/spa504g/{$mac}.xml +++ b/resources/templates/provision/cisco/spa504g/{$mac}.xml @@ -635,68 +635,17 @@ Asterisk No **# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +{foreach $keys as $row} +{if $row.device_key_category == "expansion"} +{$row.device_key_value} +{/if} +{if $row.device_key_category == "expansion-1"} +{$row.device_key_value} +{/if} +{if $row.device_key_category == "expansion-2"} +{$row.device_key_value} +{/if} +{/foreach} +