Fix the test for where extended image properties should come from. Fix the delete tag dialog to specify that the repo will be gc'ed after tag deletion.

This commit is contained in:
jakedt 2014-02-17 14:52:46 -05:00
parent 7428d2aa50
commit 369417c3ad
2 changed files with 5 additions and 2 deletions

View file

@ -1084,7 +1084,10 @@ def delete_repository(namespace, repository):
def image_view(image):
extended_props = image.storage or image
extended_props = image
if image.storage and image.storage.id:
extended_props = image.storage
command = extended_props.command
return {
'id': image.docker_image_id,

View file

@ -254,7 +254,7 @@ sudo docker push quay.io/{{repo.namespace}}/{{repo.name}}</pre>
</span>?
<div ng-show="tagSpecificImages(tagToDelete).length" style="margin-top: 20px">
The following images will also be deleted:
The following images and any other images not referenced by a tag will be deleted:
<div class="image-listings">
<div class="image-listing" ng-repeat="image in tagSpecificImages(tagToDelete) | limitTo:5"
ng-class="getImageListingClasses(image, tagToDelete)">