Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1340)

Unified Diff: chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html

Issue 2799163003: MD Settings: Bluetooth: Hide subpage arrow when disabled and fix string (Closed)
Patch Set: Fix connect string Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html b/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
index 6e032aeacdcdb355da69c8889f3bcaa2c93e3288..21741343a22e52c8d893b6f8648ec51ef22777b4 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
@@ -32,10 +32,13 @@
pref="[[prefs.cros.device.allow_bluetooth]]"
hidden="[[prefs.cros.device.allow_bluetooth.value]]">
</cr-policy-pref-indicator>
- <button class="subpage-arrow" is="paper-icon-button-light"
- on-tap="onSubpageArrowTap_" aria-label="$i18n{bluetoothPageTitle}"
- aria-describedby="bluetoothSecondary">
- </button>
+ <template is="dom-if" if="[[bluetoothEnabled_]]">
+ <button class="subpage-arrow" is="paper-icon-button-light"
+ on-tap="onSubpageArrowTap_"
+ aria-label="$i18n{bluetoothPageTitle}"
+ aria-describedby="bluetoothSecondary">
+ </button>
+ </template>
<div class="secondary-action">
<paper-toggle-button id="enableBluetooth"
checked="{{bluetoothEnabled_}}"

Powered by Google App Engine
This is Rietveld 408576698