| Index: chrome/browser/resources/md_history/history_card.html
|
| diff --git a/chrome/browser/resources/md_history/history_card.html b/chrome/browser/resources/md_history/history_card.html
|
| index 3fd46e4d958a0749f6fce2475da7bec64f7cbd59..b41792006a8ba97070534730bc38bc17651462f4 100644
|
| --- a/chrome/browser/resources/md_history/history_card.html
|
| +++ b/chrome/browser/resources/md_history/history_card.html
|
| @@ -12,6 +12,10 @@
|
| padding: 0 24px 20px;
|
| }
|
|
|
| + :host([hidden]) {
|
| + display: none !important;
|
| + }
|
| +
|
| #main-container {
|
| @apply(--shadow-elevation-2dp);
|
| background: #fff;
|
| @@ -46,20 +50,23 @@
|
| </style>
|
|
|
| <div id="main-container">
|
| - <div id="date-accessed">[[historyDate]]</div>
|
| + <div id="date-accessed">
|
| + {{cardTitle_(historyItems.length, searchTerm, historyDate)}}
|
| + </div>
|
| <div id="history-item-list">
|
| <template is="dom-repeat" items="{{historyItems}}"
|
| as="historyItem">
|
| - <history-item time-accessed_="[[historyItem.dateTimeOfDay]]"
|
| + <history-item time-accessed_="[[historyItem.visibleTimestamp]]"
|
| website-title_="[[historyItem.title]]"
|
| website-domain_="[[historyItem.domain]]"
|
| website-url_="[[historyItem.url]]"
|
| starred="[[historyItem.starred]]"
|
| selected="{{historyItem.selected}}"
|
| - timestamp_="[[historyItem.time]]">
|
| + timestamp_="[[historyItem.time]]"
|
| + search-term="[[searchTerm]]">
|
| </history-item>
|
| <template is="dom-if"
|
| - if="[[needsTimeGap_(index, historyItems.length)]]">
|
| + if="[[needsTimeGap_(index, historyItems.length, searchTerm)]]">
|
| <div id="time-gap-separator"></div>
|
| </template>
|
| </template>
|
|
|