Uni Port will not be exanded by defualt 10/50310/1
authorElisha Oren <elisha.oren@hpe.com>
Wed, 11 Jan 2017 08:35:03 +0000 (10:35 +0200)
committerDavid Goldberg <gdavid@hpe.com>
Wed, 11 Jan 2017 17:17:49 +0000 (19:17 +0200)
Change-Id: Icc784e98aaf885aa9d77bfc074bdfcf4add8c83f
Signed-off-by: Elisha Oren <elisha.oren@hpe.com>
dlux/cpeui/cpeui-module/src/main/resources/cpeui/tenant.tpl.html

index 0140a6ad778ceda09c2a445f5efd364d4e94eb25..eb8b5e5278eaad519dc54e822d9cc91aaa7ce173 100644 (file)
                                                <td class="minimal-width">{{ cesDisplayNames[uni.device] }}</td>
                                                <td class="minimal-width">{{ uni.prettyID }}</td>
                                                <td>
-                                               <button class="btn add-row" ng-click="expandFlags.tuni[uni['uni-id']] = false" ng-if="expandFlags.tuni[uni['uni-id']]">
+                                               <button class="btn add-row" ng-click="expandFlags.tuni[uni['uni-id']] = true" ng-if="!expandFlags.tuni[uni['uni-id']]">
                                                        <i class="icon-plus"></i> Show Ports
                                                </button>
-                                                       <table class="footable table table-striped inner-table" ng-if="!expandFlags.tuni[uni['uni-id']]">
+                                                       <table class="footable table table-striped inner-table" ng-if="expandFlags.tuni[uni['uni-id']]">
                                                                <thead>
                                                                        <tr>
                                                                                <th class="minimal-width">
-                                                                                       <button class="btn add-row" ng-click="expandFlags.tuni[uni['uni-id']] = true">
+                                                                                       <button class="btn add-row" ng-click="expandFlags.tuni[uni['uni-id']] = false">
                                                                                                <i class="icon-minus"></i>
                                                                                        </button>
                                                                                </th>