@ -107,10 +107,6 @@ define([
} ) ;
} ) ;
return $div ;
return $div ;
} ;
} ;
Messages . admin _registrationHint = "Restrict registration..." ; // XXX
Messages . admin _registrationTitle = "Restrict registration" ; // XXX
Messages . admin _registrationButton = "Restrict" ; // XXX
Messages . admin _registrationAllow = "Allow" ; // XXX
create [ 'registration' ] = function ( ) {
create [ 'registration' ] = function ( ) {
var key = 'registration' ;
var key = 'registration' ;
var $div = makeBlock ( key , true ) ;
var $div = makeBlock ( key , true ) ;
@ -153,11 +149,6 @@ define([
: Messages . _getKey ( 'formattedMB' , [ value ] ) ;
: Messages . _getKey ( 'formattedMB' , [ value ] ) ;
} ;
} ;
Messages . admin _defaultlimitTitle = "Storage limit" ; // XXX
Messages . admin _defaultlimitHint = "Maximum storage limit per user drive and team drive when no custom rule is applied" ; // XXX
Messages . admin _defaultlimitTitle = "New default limit (MB)" ; // XXX
Messages . admin _setlimitButton = "Set limit" ; // XXX
Messages . admin _limit = "Current default limit: {0}" ;
create [ 'defaultlimit' ] = function ( ) {
create [ 'defaultlimit' ] = function ( ) {
var key = 'defaultlimit' ;
var key = 'defaultlimit' ;
var $div = makeBlock ( key ) ;
var $div = makeBlock ( key ) ;
@ -198,10 +189,6 @@ define([
} ) ;
} ) ;
return $div ;
return $div ;
} ;
} ;
Messages . admin _getlimitsHint = "List all the custom storage limits applied to your instance." ; // XXX
Messages . admin _getlimitsTitle = "Custom limits" ; // XXX
Messages . admin _limitPlan = "Plan: {0}" ;
Messages . admin _limitNote = "Note: {0}" ;
create [ 'getlimits' ] = function ( ) {
create [ 'getlimits' ] = function ( ) {
var key = 'getlimits' ;
var key = 'getlimits' ;
var $div = makeBlock ( key ) ;
var $div = makeBlock ( key ) ;
@ -255,13 +242,6 @@ define([
return $div ;
return $div ;
} ;
} ;
Messages . admin _setlimitHint = "Get the public key of a user and give them a custom storage limit. You can update an existing limit or remove the custom limit." ; // XXX
Messages . admin _setlimitTitle = "Apply a custom limit" ; // XXX
Messages . admin _limitUser = "User's public key" ; // XXX
Messages . admin _limitMB = "Limit (in MB)" ; // XXX
Messages . admin _limitSetNote = "Custom Note" ; // XXX
Messages . admin _invalKey = "Invalid public key" ;
Messages . admin _invalLimit = "Invalid limit value" ;
create [ 'setlimit' ] = function ( ) {
create [ 'setlimit' ] = function ( ) {
var key = 'setlimit' ;
var key = 'setlimit' ;
var $div = makeBlock ( key ) ;
var $div = makeBlock ( key ) ;
@ -620,7 +600,6 @@ define([
active = active . split ( '-' ) [ 0 ] ;
active = active . split ( '-' ) [ 0 ] ;
}
}
common . setHash ( active ) ;
common . setHash ( active ) ;
Messages . admin _cat _quota = 'Quotas' ; // XXX
Object . keys ( categories ) . forEach ( function ( key ) {
Object . keys ( categories ) . forEach ( function ( key ) {
var $category = $ ( '<div>' , { 'class' : 'cp-sidebarlayout-category' } ) . appendTo ( $categories ) ;
var $category = $ ( '<div>' , { 'class' : 'cp-sidebarlayout-category' } ) . appendTo ( $categories ) ;
if ( key === 'general' ) { $category . append ( $ ( '<span>' , { 'class' : 'fa fa-user-o' } ) ) ; }
if ( key === 'general' ) { $category . append ( $ ( '<span>' , { 'class' : 'fa fa-user-o' } ) ) ; }