mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 17:07:03 +03:00
Simplify sieve scripts list #1675
This commit is contained in:
parent
0dda102a05
commit
612b5a81d2
1 changed files with 3 additions and 4 deletions
|
|
@ -23,10 +23,9 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
<tbody data-bind="foreach: scripts, i18nUpdate: scripts">
|
<tbody data-bind="foreach: scripts, i18nUpdate: scripts">
|
||||||
<!-- ko if: allowFilters() -->
|
<!-- ko if: allowFilters() -->
|
||||||
<tr><th colspan="4" data-i18n="SETTINGS_FILTERS/SIMPLE"></th></tr>
|
|
||||||
<tr class="script-item">
|
<tr class="script-item">
|
||||||
<td><div class="e-action fontastic" data-bind="visible: body, click: function (oScript) { $root.enableScript(oScript); }, text: active() ? '⦿' : '○'"></div></td>
|
<td><div class="e-action fontastic" data-bind="visible: body, click: function (oScript) { $root.enableScript(oScript); }, text: active() ? '⦿' : '○'"></div></td>
|
||||||
<td class="e-action script-name" data-bind="text: name()"></td>
|
<td class="e-action script-name" data-i18n="SETTINGS_FILTERS/SIMPLE" data-bind="attr:{title: name}"></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
@ -35,9 +34,9 @@
|
||||||
<!-- ko if: !allowFilters() -->
|
<!-- ko if: !allowFilters() -->
|
||||||
<tr class="script-item">
|
<tr class="script-item">
|
||||||
<td><div class="e-action fontastic" data-bind="visible: body, click: function (oScript) { $root.enableScript(oScript); }, text: active() ? '⦿' : '○'"></div></td>
|
<td><div class="e-action fontastic" data-bind="visible: body, click: function (oScript) { $root.enableScript(oScript); }, text: active() ? '⦿' : '○'"></div></td>
|
||||||
<td class="e-action script-name" data-bind="text: name()"></td>
|
<td class="e-action script-name" data-bind="text: name"></td>
|
||||||
<td>
|
<td>
|
||||||
<a class="btn btn-small btn-danger button-confirm-delete" data-bind="css: {'delete-access': askDelete()}, click: function(oScript) { $root.deleteScript(oScript); }"
|
<a class="btn btn-small btn-danger button-confirm-delete" data-bind="css: {'delete-access': askDelete}, click: function(oScript) { $root.deleteScript(oScript); }"
|
||||||
data-i18n="GLOBAL/ARE_YOU_SURE"></a>
|
data-i18n="GLOBAL/ARE_YOU_SURE"></a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue