Merge pull request #2066 from coreos-inc/select-username
Add support for temp usernames and an interstitial to confirm username
This commit is contained in:
commit
233b2be5c2
18 changed files with 388 additions and 24 deletions
|
@ -11,13 +11,14 @@ angular.module('quay').directive('namespaceInput', function () {
|
|||
scope: {
|
||||
'binding': '=binding',
|
||||
'isBackIncompat': '=isBackIncompat',
|
||||
'hasExternalError': '=?hasExternalError',
|
||||
|
||||
'namespaceTitle': '@namespaceTitle',
|
||||
},
|
||||
controller: function($scope, $element) {
|
||||
$scope.USERNAME_PATTERN = USERNAME_PATTERN;
|
||||
$scope.usernamePattern = new RegExp(USERNAME_PATTERN);
|
||||
|
||||
|
||||
$scope.$watch('binding', function(binding) {
|
||||
if (!binding) {
|
||||
$scope.isBackIncompat = false;
|
||||
|
|
Reference in a new issue