diff --git a/static/directives/repo-view/repo-panel-tags.html b/static/directives/repo-view/repo-panel-tags.html index 253ec1583..867009d4a 100644 --- a/static/directives/repo-view/repo-panel-tags.html +++ b/static/directives/repo-view/repo-panel-tags.html @@ -86,6 +86,9 @@ Delete Tag + + Add New Tag + diff --git a/static/js/directives/repo-view/repo-panel-tags.js b/static/js/directives/repo-view/repo-panel-tags.js index c96098b8d..c84cf017b 100644 --- a/static/js/directives/repo-view/repo-panel-tags.js +++ b/static/js/directives/repo-view/repo-panel-tags.js @@ -166,6 +166,10 @@ angular.module('quay').directive('repoPanelTags', function () { $scope.tagActionHandler.askDeleteMultipleTags(tags); }; + $scope.askAddTag = function(tag) { + $scope.tagActionHandler.askAddTag(tag.image_id); + }; + $scope.orderBy = function(predicate) { if (predicate == $scope.options.predicate) { $scope.options.reverse = !$scope.options.reverse;