aboutsummaryrefslogtreecommitdiffstats
path: root/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/views/form-compareConfig.html
diff options
context:
space:
mode:
authorSoumendu Sekhar Acharya <SA00498080@techmahindra.com>2018-09-25 18:30:17 +0530
committerDan Timoney <dtimoney@att.com>2018-10-04 19:56:20 +0000
commitdd065f3dbb499762a39bddf0afe794e9b4aa67ec (patch)
treeff01861ccdc7dd30caa32b33a62407b0687f3139 /configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/views/form-compareConfig.html
parent0d607948ff5a38a1ca0306bc68f7985a94b0be37 (diff)
Refactor code and fix some ui issues
Refactor code for SDNC-256 user story and fix some ui allignment issues Change-Id: I99811da092afc967d49ee7214c333d84ed458725 Issue-ID: SDNC-465 Signed-off-by: Soumendu Sekhar Acharya <SA00498080@techmahindra.com> Former-commit-id: ec3d47bd91eb653a20c98a79a4d6af645f098aa3
Diffstat (limited to 'configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/views/form-compareConfig.html')
-rw-r--r--configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/views/form-compareConfig.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/views/form-compareConfig.html b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/views/form-compareConfig.html
index 93ab7b64..6acaa0e3 100644
--- a/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/views/form-compareConfig.html
+++ b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/views/form-compareConfig.html
@@ -46,7 +46,7 @@
<th>Action</th>
</tr>
<tr ng-repeat="version in pagedItems[currentPage] | orderBy:sort.sortingOrder:sort.reverse">
- <td>{{$index+1}}</td>
+ <td>{{ ($index + 1) + (currentPage - 1) * itemsPerPage + 5}}</td>
<td>{{version.vnfversion}}</td>
<td>{{version.createdAt}}</td>
<td>{{version.updatedAt}}</td>
@@ -54,7 +54,7 @@
</td>
</tr>
- <td colspan="5">
+ <td colspan="5" ng-if="pagedItems.length > 5">
<!-- ng-show="pagedItems.length > 5" -->
<ul class="pagination pull-right">
<li ng-class="{disabled: currentPage == 0}"><a href