Change default title to include Container Registry and fix title usage

Goes towards fixing #1762
This commit is contained in:
Joseph Schorr 2016-08-25 14:57:48 -04:00
parent c4d54ceba7
commit 4950776628
3 changed files with 5 additions and 5 deletions

View file

@ -239,7 +239,7 @@ if (window.__config && window.__config.SENTRY_PUBLIC_DSN) {
quayApp.run(['$location', '$rootScope', 'Restangular', 'UserService', 'PlanService', '$http', '$timeout', 'CookieService', 'Features', '$anchorScroll', 'UtilService', 'MetaService', 'UIService',
function($location, $rootScope, Restangular, UserService, PlanService, $http, $timeout, CookieService, Features, $anchorScroll, UtilService, MetaService, UIService) {
var defaultTitle = window.__config['REGISTRY_TITLE'] || 'Quay';
var defaultTitle = window.__config['REGISTRY_TITLE'] || 'Quay Container Registry';
// Handle session security.
Restangular.setDefaultRequestParams(['post', 'put', 'remove', 'delete'], {'_csrf_token': window.__token || ''});

View file

@ -37,7 +37,7 @@
}
},
{
'title': 'Step 1: Login to ' + Config.REGISTRY_TITLE,
'title': 'Step 1: Login to ' + Config.REGISTRY_TITLE_SHORT,
'templateUrl': '/static/tutorial/docker-login.html',
'signal': AngularTourSignals.serverEvent('/realtime/user/subscribe?events=docker-cli',
function(message) {
@ -56,7 +56,7 @@
'templateUrl': '/static/tutorial/create-image.html'
},
{
'title': 'Step 4: Push the image to ' + Config.REGISTRY_TITLE,
'title': 'Step 4: Push the image to ' + Config.REGISTRY_TITLE_SHORT,
'templateUrl': '/static/tutorial/push-image.html',
'signal': AngularTourSignals.serverEvent('/realtime/user/subscribe?events=docker-cli',
function(message, tourScope) {
@ -79,7 +79,7 @@
'waitMessage': "Waiting for repository push to complete"
},
{
'title': 'Step 5: View the repository on ' + Config.REGISTRY_TITLE,
'title': 'Step 5: View the repository on ' + Config.REGISTRY_TITLE_SHORT,
'templateUrl': '/static/tutorial/view-repo.html',
'signal': AngularTourSignals.matchesLocation('/repository/'),
'overlayable': true,

View file

@ -62,7 +62,7 @@ function(Config, Features, VulnerabilityService) {
var methods = [
{
'id': 'quay_notification',
'title': Config.REGISTRY_TITLE + ' Notification',
'title': Config.REGISTRY_TITLE_SHORT + ' Notification',
'icon': 'quay-icon',
'fields': [
{