Skip to content

Commit

Permalink
Merge pull request hpcc-systems#9179 from miguelvazq/HPCC-16364
Browse files Browse the repository at this point in the history
HPCC-16364 Add read-only employeeID

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
  • Loading branch information
richardkchapman committed Sep 28, 2016
2 parents 6cab7f4 + 99a6322 commit 6e8fb7a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions esp/src/eclwatch/CurrentUserDetailsWidget.js
Expand Up @@ -102,6 +102,9 @@ define([
if (lang.exists("MyAccountResponse.firstName", response)) {
context.updateInput("FirstName", null, response.MyAccountResponse.firstName);
}
if (lang.exists("MyAccountResponse.employeeID", response)) {
context.updateInput("EmployeeID", null, response.MyAccountResponse.employeeID);
}
if (lang.exists("MyAccountResponse.lastName", response)) {
context.updateInput("LastName", null, response.MyAccountResponse.lastName);
}
Expand Down
4 changes: 4 additions & 0 deletions esp/src/eclwatch/templates/CurrentUserDetailsWidget.html
Expand Up @@ -13,6 +13,10 @@ <h2>
<label class="Prompt" for="${id}Username">${i18n.Username}:</label>
<div id="${id}Username"></div>
</li>
<li>
<label class="Prompt" for="${id}EmployeeID">${i18n.EmployeeID}:</label>
<div id="${id}EmployeeID"></div>
</li>
<li>
<label class="Prompt" for="${id}FirstName">${i18n.FirstName}:</label>
<div id="${id}FirstName"></div>
Expand Down

0 comments on commit 6e8fb7a

Please sign in to comment.