Added "hide_dangerous_actions" setting

This commit is contained in:
RainLoop Team 2014-08-12 19:19:39 +04:00
parent d79947259b
commit 4569190691
6 changed files with 10 additions and 4 deletions

View file

@ -92,15 +92,15 @@
<span class="i18n" data-i18n-text="MESSAGE_LIST/BUTTON_MULTY_FORWARD"></span>
</a>
</li>
<li class="divider" role="presentation"></li>
<li class="e-item" role="presentation" data-bind="command: deleteWithoutMoveCommand">
<li class="divider" role="presentation" data-bind="visible: !hideDangerousActions"></li>
<li class="e-item" role="presentation" data-bind="visible: !hideDangerousActions, command: deleteWithoutMoveCommand">
<a class="e-link menuitem" href="#" tabindex="-1">
<i class="icon-trash"></i>
&nbsp;&nbsp;
<span class="i18n" data-i18n-text="MESSAGE_LIST/BUTTON_DELETE_WITHOUT_MOVE"></span>
</a>
</li>
<li class="e-item" role="presentation" data-bind="command: clearCommand">
<li class="e-item" role="presentation" data-bind="visible: !hideDangerousActions, command: clearCommand">
<a class="e-link menuitem" href="#" tabindex="-1">
<i class="icon-fire"></i>
&nbsp;&nbsp;