This commit is contained in:
Joseph Schorr 2014-01-13 14:49:19 -05:00
commit a53a0a44a9

View file

@ -477,10 +477,11 @@ function RepoCtrl($scope, Restangular, ApiService, $routeParams, $rootScope, $lo
$scope.setTag($routeParams.tag);
// Set the title of the page.
$rootScope.title = namespace + '/' + name;
var qualifiedRepoName = namespace + '/' + name;
$rootScope.title = qualifiedRepoName;
var kind = repo.is_public ? 'public' : 'private';
$rootScope.description = jQuery(getFirstTextLine(repo.description)).text() ||
'View of a ' + kind + ' docker repository on Quay';
'Visualization of images and tags for ' + kind + ' Docker repository: ' + qualifiedRepoName;
// If the repository is marked as building, start monitoring it for changes.
if (repo.is_building) {