Add ability to add/move a tag in the tag view

This commit is contained in:
Joseph Schorr 2015-03-19 15:23:34 -04:00
parent c066df6d21
commit 3959ea2ff9
2 changed files with 7 additions and 0 deletions

View file

@ -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;