| Index: ui/webui/resources/cr_elements/network/cr_network_list_item.html
|
| diff --git a/ui/webui/resources/cr_elements/network/cr_network_list_item.html b/ui/webui/resources/cr_elements/network/cr_network_list_item.html
|
| index c5d4e0ed6f8c87b48adda5d54ecb1eacd465aa56..d4df05a90b00371c2e380d4e2c8fa395341ac900 100644
|
| --- a/ui/webui/resources/cr_elements/network/cr_network_list_item.html
|
| +++ b/ui/webui/resources/cr_elements/network/cr_network_list_item.html
|
| @@ -4,6 +4,8 @@
|
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
|
| <link rel="import" href="chrome://resources/cr_elements/network/cr_network_icon.html">
|
| <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.html">
|
| +<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_behavior.html">
|
| +<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_indicator.html">
|
| <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
|
| <link rel="import" href="chrome://resources/html/i18n_behavior.html">
|
|
|
| @@ -36,6 +38,7 @@
|
| }
|
|
|
| #divOuter {
|
| + align-items: center;
|
| border-style: none;
|
| display: flex;
|
| flex-direction: row;
|
| @@ -80,6 +83,10 @@
|
| height: 24px;
|
| width: 24px;
|
| }
|
| +
|
| + cr-policy-network-indicator {
|
| + padding: 0 var(--cr-icon-padding);
|
| + }
|
| </style>
|
| <div id="divOuter" actionable$="[[isListItem]]"
|
| first-custom-item$="[[item.isFirstCustomItem]]">
|
| @@ -103,6 +110,11 @@
|
| [[getNetworkStateText_(networkState, isListItem)]]
|
| </div>
|
| </div>
|
| + <template is="dom-if" if="[[isPolicySource(networkState.Source)]]">
|
| + <cr-policy-network-indicator
|
| + indicator-type="[[getIndicatorTypeForSource(networkState.Source)]]">
|
| + </cr-policy-network-indicator>
|
| + </template>
|
| <template is="dom-if"
|
| if="[[isSettingsButtonVisible_(networkState, showButtons)]]">
|
| <div id="divButtons">
|
|
|