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

Unified Diff: chrome/browser/resources/md_downloads/item.html

Issue 2455393004: MD Downloads: reduce the size of the ellided, displayed download URL (Closed)
Patch Set: 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/md_downloads/item.html
diff --git a/chrome/browser/resources/md_downloads/item.html b/chrome/browser/resources/md_downloads/item.html
index 3f0ff3d0115d9f6dc02a18f9e7ab0ae087c97d2a..7be3f24b4a2bca78345050b1c42e7cddeef37e7a 100644
--- a/chrome/browser/resources/md_downloads/item.html
+++ b/chrome/browser/resources/md_downloads/item.html
@@ -258,7 +258,7 @@
<span id="tag">[[computeTag_(data.state, data.last_reason_text, data.file_externally_removed)]]</span>
</div>
- <a id="url" target="_blank">[[data.url]]</a>
+ <a id="url" target="_blank">[[chopString_(data.url, 300)]]</a>
<div id="description">[[computeDescription_(data.state, data.danger_type, data.file_name, data.progress_status_text)]]</div>

Powered by Google App Engine
This is Rietveld 408576698