Show "submittable" checkmarks in submitted together list
Feature: Issue 5276 Change-Id: I7fea3a414ae22ba07588129914c73fa040413692
This commit is contained in:
@@ -79,6 +79,13 @@ limitations under the License.
|
||||
.submittable {
|
||||
color: #1b5e20;
|
||||
}
|
||||
.submittableCheck {
|
||||
color: #388E3C;
|
||||
display: none;
|
||||
}
|
||||
.submittableCheck.submittable {
|
||||
display: inline;
|
||||
}
|
||||
.hidden,
|
||||
.mobile {
|
||||
display: none;
|
||||
@@ -124,6 +131,10 @@ limitations under the License.
|
||||
title$="[[change.project]]: [[change.branch]]: [[change.subject]]">
|
||||
[[change.project]]: [[change.branch]]: [[change.subject]]
|
||||
</a>
|
||||
<span
|
||||
tabindex="-1"
|
||||
title="Submittable"
|
||||
class$="submittableCheck [[_computeLinkClass(change)]]">✓</span>
|
||||
</div>
|
||||
</template>
|
||||
</section>
|
||||
|
||||
@@ -176,9 +176,14 @@
|
||||
},
|
||||
|
||||
_computeLinkClass(change) {
|
||||
const statuses = [];
|
||||
if (change.status == this.ChangeStatus.ABANDONED) {
|
||||
return 'strikethrough';
|
||||
statuses.push('strikethrough');
|
||||
}
|
||||
if (change.submittable) {
|
||||
statuses.push('submittable');
|
||||
}
|
||||
return statuses.join(' ');
|
||||
},
|
||||
|
||||
_computeChangeStatusClass(change) {
|
||||
|
||||
Reference in New Issue
Block a user