Merge branch 'stable-2.16' into stable-3.0
* stable-2.16: HashtagsInput: Add a constructor allowing to initialize remove member Fix gr-identities styles Change-Id: I5d44bbde7b44ae6e4c5969ca40c428d2cf8acbf0
This commit is contained in:
@@ -26,4 +26,9 @@ public class HashtagsInput {
|
||||
public HashtagsInput(Set<String> add) {
|
||||
this.add = add;
|
||||
}
|
||||
|
||||
public HashtagsInput(Set<String> add, Set<String> remove) {
|
||||
this(add);
|
||||
this.remove = remove;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,8 +27,20 @@ limitations under the License.
|
||||
<template>
|
||||
<style include="shared-styles"></style>
|
||||
<style include="gr-form-styles">
|
||||
td {
|
||||
width: 5em;
|
||||
tr th.emailAddressHeader,
|
||||
tr th.identityHeader {
|
||||
width: 15em;
|
||||
padding: 0 10px;
|
||||
}
|
||||
tr td.statusColumn,
|
||||
tr td.emailAddressColumn,
|
||||
tr td.identityColumn {
|
||||
word-break: break-word;
|
||||
}
|
||||
tr td.emailAddressColumn,
|
||||
tr td.identityColumn {
|
||||
padding: 4px 10px;
|
||||
width: 15em;
|
||||
}
|
||||
.deleteButton {
|
||||
float: right;
|
||||
@@ -36,12 +48,10 @@ limitations under the License.
|
||||
.deleteButton:not(.show) {
|
||||
display: none;
|
||||
}
|
||||
.statusColumn {
|
||||
white-space: nowrap;
|
||||
}
|
||||
</style>
|
||||
<div class="gr-form-styles">
|
||||
<table id="identities">
|
||||
<fieldset>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="statusHeader">Status</th>
|
||||
@@ -53,14 +63,13 @@ limitations under the License.
|
||||
<tbody>
|
||||
<template is="dom-repeat" items="[[_identities]]" filter="filterIdentities">
|
||||
<tr>
|
||||
<td class$="statusColumn">
|
||||
<td class="statusColumn">
|
||||
[[_computeIsTrusted(item.trusted)]]
|
||||
</td>
|
||||
<td>[[item.email_address]]</td>
|
||||
<td>[[_computeIdentity(item.identity)]]</td>
|
||||
<td>
|
||||
<td class="emailAddressColumn">[[item.email_address]]</td>
|
||||
<td class="identityColumn">[[_computeIdentity(item.identity)]]</td>
|
||||
<td class="deleteColumn">
|
||||
<gr-button
|
||||
link
|
||||
class$="deleteButton [[_computeHideDeleteClass(item.can_delete)]]"
|
||||
on-tap="_handleDeleteItem">
|
||||
Delete
|
||||
@@ -70,6 +79,7 @@ limitations under the License.
|
||||
</template>
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
</div>
|
||||
<gr-overlay id="overlay" with-backdrop>
|
||||
<gr-confirm-delete-item-dialog
|
||||
|
||||
Reference in New Issue
Block a user