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

Unified Diff: chrome/browser/resources/settings/site_settings/zoom_levels.html

Issue 2757333003: MD Settings: Restore message shown when no "zoom" exceptions exist. (Closed)
Patch Set: Add test. Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/test/data/webui/settings/zoom_levels_tests.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/site_settings/zoom_levels.html
diff --git a/chrome/browser/resources/settings/site_settings/zoom_levels.html b/chrome/browser/resources/settings/site_settings/zoom_levels.html
index f817afb068dbf30d9146cbbca4f09f6567ccd7bd..50bd0b1446a7e2f343af23c59e27d091873b2874 100644
--- a/chrome/browser/resources/settings/site_settings/zoom_levels.html
+++ b/chrome/browser/resources/settings/site_settings/zoom_levels.html
@@ -19,13 +19,12 @@
color: var(--paper-grey-600);
}
- .empty-message {
+ #empty {
margin-top: 15px;
}
</style>
<div class="list-frame vertical-list" id="listContainer">
- <template is="dom-repeat" items="[[sites_]]" id="list"
- rendered-item-count="{{renderedCount}}">
+ <template is="dom-repeat" items="[[sites_]]" id="list">
<div class="list-item">
<div class="favicon-image"
style$="[[computeSiteIcon(item.originForFavicon)]]">
@@ -40,8 +39,8 @@
</div>
</div>
</template>
- <template is="dom-if" if="{{!renderedCount}}">
- <div class="empty-message" id="empty">
+ <template is="dom-if" if="[[!sites_.length]]">
+ <div id="empty">
$i18n{siteSettingsNoZoomedSites}
</div>
</template>
« no previous file with comments | « no previous file | chrome/test/data/webui/settings/zoom_levels_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698