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

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

Issue 2442333003: Elide origin URLs from the left (Closed)
Patch Set: Addressed nits, fixed types and added test. Created 4 years, 2 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 54dbde795ffe0dafb5f809025529ed2d57754e89..00030cc935891483a8bfd157be350d3aa11b103e 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
@@ -77,7 +77,9 @@
<div class="list-item">
<div class="website-column">
<a id="originUrl" target="_blank" class="selectable"
- href="[[item.linkUrl]]">[[item.loginPair.originUrl]]</a>
+ href="[[item.linkUrl]]">
+ [[elideOriginUrlFromLeft_(item.loginPair.originUrl)]]
+ </a>
</div>
<div class="username-column selectable"
id="username">[[item.loginPair.username]]</div>

Powered by Google App Engine
This is Rietveld 408576698