Fix page titles

Fixes #949
This commit is contained in:
Joseph Schorr 2015-11-20 17:50:01 -05:00
parent a2896cc39d
commit fce37f545a
2 changed files with 1 additions and 3 deletions

View file

@ -74,8 +74,6 @@ quayApp.config(['$tooltipProvider', function ($tooltipProvider) {
// Configure the routes. // Configure the routes.
quayApp.config(['$routeProvider', '$locationProvider', 'pages', function($routeProvider, $locationProvider, pages) { quayApp.config(['$routeProvider', '$locationProvider', 'pages', function($routeProvider, $locationProvider, pages) {
var title = window.__config['REGISTRY_TITLE'] || 'Quay';
$locationProvider.html5Mode(true); $locationProvider.html5Mode(true);
// WARNING WARNING WARNING // WARNING WARNING WARNING

View file

@ -12,7 +12,7 @@ angular.module('quay').factory('MetaService', ['$interpolate', 'Config', '$rootS
var inter = $interpolate(expr, true, null, true); var inter = $interpolate(expr, true, null, true);
if (!inter) { if (!inter) {
return null; return expr.toString();
} }
return inter(page.scope); return inter(page.scope);