Show current change arrow in submitted together list

Show an arrow to indicate the current change in the submitted together
list in the same way as in the related changes list.

Feature: Issue 8260
Change-Id: I87e0a104b3cbbefdf636372495761cfc1cf54dca
This commit is contained in:
Wyatt Allen
2018-02-06 11:46:40 -08:00
parent e9656a28d1
commit 8c12b0b12d

View File

@@ -126,17 +126,17 @@ limitations under the License.
</section>
<section hidden$="[[!_submittedTogether.length]]" hidden>
<h4>Submitted together</h4>
<template is="dom-repeat" items="[[_submittedTogether]]" as="change">
<div>
<a href$="[[_computeChangeURL(change._number, change.project)]]"
class$="[[_computeLinkClass(change)]]"
title$="[[change.project]]: [[change.branch]]: [[change.subject]]">
[[change.project]]: [[change.branch]]: [[change.subject]]
<template is="dom-repeat" items="[[_submittedTogether]]" as="related">
<div class$="[[_computeChangeContainerClass(change, related)]]">
<a href$="[[_computeChangeURL(related._number, related.project)]]"
class$="[[_computeLinkClass(related)]]"
title$="[[related.project]]: [[related.branch]]: [[related.subject]]">
[[related.project]]: [[related.branch]]: [[related.subject]]
</a>
<span
tabindex="-1"
title="Submittable"
class$="submittableCheck [[_computeLinkClass(change)]]"></span>
class$="submittableCheck [[_computeLinkClass(related)]]"></span>
</div>
</template>
</section>