mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Use CSS instead of $index #1797
This commit is contained in:
parent
e345550c7f
commit
82ab4c4c6d
2 changed files with 5 additions and 2 deletions
|
|
@ -45,4 +45,8 @@
|
||||||
content: ')';
|
content: ')';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.identities-list tr + tr .identity-default {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -58,8 +58,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td class="e-action">
|
<td class="e-action">
|
||||||
<span class="identity-name" data-bind="text: formattedName()"></span>
|
<span class="identity-name" data-bind="text: formattedName()"></span>
|
||||||
|
<span class="identity-default" data-i18n="GLOBAL/DEFAULT"></span>
|
||||||
<span class="identity-default" data-bind="visible: !$context.$index()" data-i18n="GLOBAL/DEFAULT"></span>
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a class="btn btn-small btn-danger button-confirm-delete" data-bind="visible: id, css: {'delete-access': askDelete}, click: function(oIdentity) { $root.deleteIdentity(oIdentity); }"
|
<a class="btn btn-small btn-danger button-confirm-delete" data-bind="visible: id, css: {'delete-access': askDelete}, click: function(oIdentity) { $root.deleteIdentity(oIdentity); }"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue