From de72487f34b52c4682ff410be22931b082213ffb Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 5 Mar 2014 16:34:19 -0500 Subject: [PATCH] Always show the repo circle in the image view without the lock. To determine whether to show the lock, we'd need another lookup. --- static/js/controllers.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/controllers.js b/static/js/controllers.js index 168b622b5..9825ed664 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -1819,7 +1819,8 @@ function ImageViewCtrl($scope, $routeParams, $rootScope, $timeout, ApiService, I $scope.image = ApiService.getImageAsResource(params).get(function(image) { $scope.repo = { 'name': name, - 'namespace': namespace + 'namespace': namespace, + 'is_public': true }; $rootScope.title = 'View Image - ' + image.id;