Merge pull request #3312 from quay/fix-repo-panel-tags
Fix the image track offsets in the repo tags UI
This commit is contained in:
commit
6cc7102ec8
2 changed files with 4 additions and 2 deletions
|
@ -298,7 +298,7 @@
|
||||||
<!-- Expanded View -->
|
<!-- Expanded View -->
|
||||||
<tr ng-if="expandedView" class="expanded-viewport" ng-class="{'manifest-list': tag.is_manifest_list}">
|
<tr ng-if="expandedView" class="expanded-viewport" ng-class="{'manifest-list': tag.is_manifest_list}">
|
||||||
<td class="checkbox-col"></td>
|
<td class="checkbox-col"></td>
|
||||||
<td class="labels-col" colspan="{{6 + (repository.trust_enabled ? 1 : 0) + (Features.SECURITY_SCANNER ? 1 : -1) }}">
|
<td class="labels-col" colspan="{{5 + (repository.trust_enabled ? 1 : 0) + (Features.SECURITY_SCANNER ? 1 : 0) }}">
|
||||||
<!-- Image ID -->
|
<!-- Image ID -->
|
||||||
<div class="image-id-row">
|
<div class="image-id-row">
|
||||||
<manifest-link repository="repository" image-id="tag.image_id" manifest-digest="tag.manifest_digest"></manifest-link>
|
<manifest-link repository="repository" image-id="tag.image_id" manifest-digest="tag.manifest_digest"></manifest-link>
|
||||||
|
|
|
@ -20,7 +20,9 @@ angular.module('quay').directive('repoPanelTags', function () {
|
||||||
|
|
||||||
'getImages': '&getImages'
|
'getImages': '&getImages'
|
||||||
},
|
},
|
||||||
controller: function($scope, $element, $filter, $location, ApiService, UIService, VulnerabilityService, TableService) {
|
controller: function($scope, $element, $filter, $location, ApiService, UIService, VulnerabilityService, TableService, Features) {
|
||||||
|
$scope.Features = Features;
|
||||||
|
|
||||||
$scope.maxTrackCount = 5;
|
$scope.maxTrackCount = 5;
|
||||||
|
|
||||||
$scope.checkedTags = UIService.createCheckStateController([], 'name');
|
$scope.checkedTags = UIService.createCheckStateController([], 'name');
|
||||||
|
|
Reference in a new issue