Chromium Code Reviews| Index: chrome/browser/resources/policy.js |
| diff --git a/chrome/browser/resources/policy.js b/chrome/browser/resources/policy.js |
| index 9178e6592c659691041ae682ef3a666c4c0a40ab..2ad29bf3996099c7b24534fd318fd1a426be4f00 100644 |
| --- a/chrome/browser/resources/policy.js |
| +++ b/chrome/browser/resources/policy.js |
| @@ -48,6 +48,19 @@ cr.define('policy', function() { |
| var domain = this.querySelector('.domain'); |
| domain.textContent = status.domain; |
| domain.parentElement.hidden = false; |
| + // Populate the device naming information. |
|
Nikita (slow)
2015/04/14 13:21:39
nit: insert empty line before comment.
(here and b
Polina Bondarenko
2015/04/14 16:41:34
Done.
|
| + // Populate the asset identifier. |
| + var assetId = this.querySelector('.asset-id'); |
| + assetId.textContent = status.assetId; |
| + assetId.parentElement.hidden = false; |
| + // Populate the device location. |
| + var location = this.querySelector('.location'); |
| + location.textContent = status.location; |
| + location.parentElement.hidden = false; |
| + // Populate the directory API ID. |
| + var directoryApiId = this.querySelector('.directory-api-id'); |
| + directoryApiId.textContent = status.directoryApiId; |
| + directoryApiId.parentElement.hidden = false; |
| } else { |
| // For user policy, set the appropriate title and populate the topmost |
| // status item with the username that policies apply to. |