mirror of
https://github.com/google/nomulus.git
synced 2025-05-16 17:37:13 +02:00
Make product name driven from config in the console
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135399007
This commit is contained in:
parent
74369b69be
commit
129cbe8103
6 changed files with 42 additions and 21 deletions
|
@ -40,11 +40,12 @@ goog.forwardDeclare('registry.Component');
|
|||
* The Registrar Console.
|
||||
* @param {string} xsrfToken Populated by server-side soy template.
|
||||
* @param {string} clientId The logged in GAE user.
|
||||
* @param {string} productName The software name displayed on the UI.
|
||||
* @constructor
|
||||
* @extends {registry.Console}
|
||||
* @final
|
||||
*/
|
||||
registry.registrar.Console = function(xsrfToken, clientId) {
|
||||
registry.registrar.Console = function(xsrfToken, clientId, productName) {
|
||||
registry.registrar.Console.base(
|
||||
this, 'constructor',
|
||||
new registry.registrar.EppSession(this, xsrfToken, clientId));
|
||||
|
@ -66,6 +67,11 @@ registry.registrar.Console = function(xsrfToken, clientId) {
|
|||
*/
|
||||
this.xsrfToken_ = xsrfToken;
|
||||
|
||||
/**
|
||||
* @type {string}
|
||||
*/
|
||||
this.productName = productName;
|
||||
|
||||
/**
|
||||
* Last active nav element.
|
||||
* @type {Element}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue