diff --git a/static/directives/repo-breadcrumb.html b/static/directives/repo-breadcrumb.html index 6694d58ca..b7546c033 100644 --- a/static/directives/repo-breadcrumb.html +++ b/static/directives/repo-breadcrumb.html @@ -1,10 +1,14 @@ - {{repo.namespace}} + + {{repo.namespace}} + {{repo.name}} - {{repo.namespace}} + + {{repo.namespace}} + {{repo.name}} {{image.id.substr(0, 12)}} diff --git a/static/js/app.js b/static/js/app.js index 8d7d08231..cf48945bd 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -874,15 +874,7 @@ quayApp.directive('repoBreadcrumb', function () { 'repo': '=repo', 'image': '=image' }, - controller: function($scope, $element, $location, UserService, CookieService) { - $scope.showNamespace = function() { - var namespace = $scope.repo.namespace || ''; - if (UserService.isKnownNamespace(namespace)) { - CookieService.putPermanent('quay.namespace', namespace); - } - - $location.path('/repository/'); - }; + controller: function($scope, $element) { } }; return directiveDefinitionObject;