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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html

Issue 2170713002: Use dom-repeat for addresses, credit cards, and exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Verify Template is a Template Created 4 years, 5 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/passwords_and_forms_page/passwords_section.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
index 884a4379a555815e81d4942c13723b728a9bd212..2be193ed05821f6a32f5e81eec1f084faa671bbd 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
@@ -99,10 +99,10 @@
</password-edit-dialog>
</template>
<div class="heading">$i18n{passwordExceptionsHeading}</div>
- <iron-list id="passwordExceptionsList"
- items="[[getFilteredExceptions_(passwordExceptions, filter)]]"
+ <div id="passwordExceptionsList"
class="vertical-list list-section item-list">
- <template>
+ <template is="dom-repeat" items="[[passwordExceptions]]"
+ filter="[[passwordExceptionFilter_(filter)]]">
<div class="list-item two-line">
<div class="start">
<a id="exception" href="[[item.linkUrl]]" target="_blank"
@@ -115,7 +115,7 @@
</paper-icon-button>
</div>
</template>
- </iron-list>
+ </div>
</template>
<script src="/passwords_and_forms_page/passwords_section.js"></script>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698