diff --git a/static/directives/repo-view/repo-panel-tags.html b/static/directives/repo-view/repo-panel-tags.html index d34fab7ff..665762e0a 100644 --- a/static/directives/repo-view/repo-panel-tags.html +++ b/static/directives/repo-view/repo-panel-tags.html @@ -341,7 +341,8 @@
Try expanding your filtering terms.
-
+
+
This repository is empty.
Push a tag or initiate a build to populate this repository.
diff --git a/static/js/directives/ui/tag-operations-dialog.js b/static/js/directives/ui/tag-operations-dialog.js index 417a997a8..e437297ae 100644 --- a/static/js/directives/ui/tag-operations-dialog.js +++ b/static/js/directives/ui/tag-operations-dialog.js @@ -39,7 +39,7 @@ angular.module('quay').directive('tagOperationsDialog', function () { $.extend(tags, newTags); if (resp.has_additional) { - loadPaginatedRepositoryTags(page + 1, tags, added, removed); + reloadTags(page + 1, tags, added, removed); } else { $scope.repositoryTags = tags; $scope.imageLoader.reset(); diff --git a/static/js/pages/repo-view.js b/static/js/pages/repo-view.js index c3b04ba8d..cdd2b54bb 100644 --- a/static/js/pages/repo-view.js +++ b/static/js/pages/repo-view.js @@ -31,7 +31,8 @@ 'imageLoader': imageLoader, 'builds': null, 'historyFilter': '', - 'repositoryTags': null + 'repositoryTags': null, + 'tagsLoading': true }; $scope.repositoryTags = {}; @@ -77,7 +78,9 @@ if (resp.has_additional) { loadPaginatedRepositoryTags(page + 1); - } + } else { + $scope.viewScope.tagsLoading = false; + } }); }; diff --git a/static/partials/repo-view.html b/static/partials/repo-view.html index 046f63fc1..5db77ff84 100644 --- a/static/partials/repo-view.html +++ b/static/partials/repo-view.html @@ -77,6 +77,7 @@