|
31 | 31 | </div> |
32 | 32 | <!-- Item List --> |
33 | 33 | <ul role="rowgroup" class="list-group padder-l-none padder-r-none"> |
34 | | - <li class="list-group-item" ng-repeat="item in c.displayItems | limitTo:c.data.itemsPerPage" style="margin:0;" |
35 | | - ng-click="c.openUrl(item.itemId)"> |
36 | | - <div role="cell" class="padder-l-none padder-r-none main-column"> |
37 | | - <div class="primary-display"> |
38 | | - {{item.name}} |
39 | | - </div> |
40 | | - <small class="text-muted"> |
41 | | - <div class="secondary-display"> |
42 | | - <span>{{item.description}}</span> |
43 | | - </div> |
44 | | - </small> |
45 | | - </div> |
46 | | - </li> |
47 | | - </ul> |
| 34 | + <li class="list-group-item" ng-repeat="item in c.displayItems | limitTo:c.data.itemsPerPage" ng-click="c.openUrl(item.itemId, item.externalUrl)"> |
| 35 | + <div role="cell" class="padder-l-none padder-r-none main-column"> |
| 36 | + <div class="primary-display"> |
| 37 | + {{item.name}} |
| 38 | + </div> |
| 39 | + <small class="text-muted"> |
| 40 | + <div class="secondary-display"> |
| 41 | + <span>{{item.description}}</span> |
| 42 | + </div> |
| 43 | + </small> |
| 44 | + </div> |
| 45 | + <!-- Item Type --> |
| 46 | + <div role="cell" class="item-type-column text-muted"> |
| 47 | + {{item.type}} |
| 48 | + </div> |
| 49 | + <!-- External Redirect --> |
| 50 | + <div role="cell external-redirect-cell" ng-click="c.openUrl(item.itemId, item.externalUrl, true); $event.stopPropagation();"> |
| 51 | + <i class="fa fa-external-link" aria-hidden="true"></i> |
| 52 | + </div> |
| 53 | + </li> |
| 54 | + </ul> |
48 | 55 | <!-- Pagination --> |
49 | | - <div class="panels-container" ng-if="c.isMultiplePage" style="display: flex; justify-content: center;"> |
| 56 | + <div class="panels-container" ng-if="c.isMultiplePage"> |
50 | 57 | <uib-pagination total-items="c.filteredCatalogItems.length" ng-model="c.data.currentPage" |
51 | 58 | ng-change="c.pageChanged()" items-per-page="c.data.itemsPerPage" max-size="c.data.maxPagesInPaginator" |
52 | 59 | boundary-links="c.data.showBoundaryLinks"> |
53 | 60 | </uib-pagination> |
54 | 61 | </div> |
55 | 62 | <!-- Panel Footer --> |
56 | 63 | <div class="panel-footer">Total items found: |
57 | | - {{c.filteredCatalogItems.length}}<span class="copyright" ng-show="c.data.showCopyright">© 2023 Ivan Betev</span></div> |
| 64 | + {{c.filteredCatalogItems.length}}<span class="copyright" ng-show="c.data.showCopyright">© 2025 Ivan Betev</span></div> |
58 | 65 | </div> |
0 commit comments