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

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

Issue 1303993006: MD Downloads: compute description and tag via data binding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dom-if5
Patch Set: nit Created 5 years, 3 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/browser/resources/md_downloads/item.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d472c803928e8c14601e5b1d795458316968297d..661e672cc1ff687c1ca794d1f70198227481af2b 100644
--- a/chrome/browser/resources/md_downloads/item.html
+++ b/chrome/browser/resources/md_downloads/item.html
@@ -34,12 +34,12 @@
Before #name.
--><span id="name"
hidden$="[[completelyOnDisk_]]">[[data_.file_name]]</span>
- <span id="tag"></span>
+ <span id="tag">[[computeTag_(data_.state, data_.last_reason_text, data_.file_externally_removed)]]</span>
</div>
<a id="url" target="_blank" href$="[[data_.url]]">[[data_.url]]</a>
- <div id="description"></div>
+ <div id="description">[[computeDescription_(data_.state, data_.danger_type, data_.file_name, data_.progress_status_text)]]</div>
<template is="dom-if" if="[[showProgress_]]">
<paper-progress id="progress"
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/item.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698