commit 2d9c8a4f584708f49185ded02b1a6a281687828d Author: Ben Rohlfs <brohlfs@google.com> Date: Wed Oct 14 17:38:30 2020 +0200 Replace "Since" by "Waiting" Change-Id: If6bbbed939a3fd34fd5b33e35abb333749d2252c diff --git a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.ts b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.ts index b5d2d53..d70e891 100644 --- a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.ts +++ b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.ts @@ -389,7 +389,7 @@ export class GrChangeListItem extends ChangeTableMixin( } } - _computeSince( + _computeWaiting( account?: AccountInfo, change?: ChangeInfo ): Timestamp | undefined { diff --git a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item_html.ts b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item_html.ts index 2ae6c37..fdb4534 100644 --- a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item_html.ts +++ b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item_html.ts @@ -274,14 +274,14 @@ export const htmlTemplate = html` ></gr-date-formatter> </td> <td - class="cell since" - hidden$="[[isColumnHidden('Since', visibleChangeTableColumns)]]" + class="cell waiting" + hidden$="[[isColumnHidden('Waiting', visibleChangeTableColumns)]]" > <gr-date-formatter has-tooltip="" force-relative="" relative-option-no-ago="" - date-str="[[_computeSince(account, change)]]" + date-str="[[_computeWaiting(account, change)]]" ></gr-date-formatter> </td> <td diff --git a/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list.ts b/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list.ts index f486435..5a2b43c 100644 --- a/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list.ts +++ b/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list.ts @@ -250,7 +250,7 @@ export class GrChangeList extends ChangeTableMixin( const cols = [...visibleColumns]; const updatedIndex = cols.indexOf('Updated'); if (section.name === YOUR_TURN.name && updatedIndex !== -1) { - cols[updatedIndex] = 'Since'; + cols[updatedIndex] = 'Waiting'; } if (section.name === CLOSED.name && updatedIndex !== -1) { cols[updatedIndex] = 'Submitted'; diff --git a/polygerrit-ui/app/styles/gr-change-list-styles.ts b/polygerrit-ui/app/styles/gr-change-list-styles.ts index da62936..6de4e6f 100644 --- a/polygerrit-ui/app/styles/gr-change-list-styles.ts +++ b/polygerrit-ui/app/styles/gr-change-list-styles.ts @@ -92,7 +92,7 @@ $_documentContainer.innerHTML = `<dom-module id="gr-change-list-styles"> .assignee, .updated, .submitted, - .since, + .waiting, .size, .status, .repo { @@ -173,7 +173,7 @@ $_documentContainer.innerHTML = `<dom-module id="gr-change-list-styles"> .branch, .updated, .submitted, - .since, + .waiting, .label, .assignee, .groupHeader .star,