mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 11:39:21 +03:00
Whitelist images dropdown #201
This commit is contained in:
parent
05d8e7b353
commit
831410e8f0
1 changed files with 9 additions and 2 deletions
|
|
@ -281,8 +281,15 @@
|
|||
|
||||
<div class="showImages" data-bind="visible: message().hasImages()">
|
||||
<div class="btn" data-bind="click: showImages" data-icon="🖼" data-i18n="MESSAGE/BUTTON_SHOW_IMAGES"></div>
|
||||
<div data-bind="foreach: message().whitelistOptions()">
|
||||
<div class="btn" data-bind="click: $root.whitelistText, text: $data" data-icon="🖼"></div>
|
||||
<div class="btn-group" data-bind="registerBootstrapDropdown: true" style="display: inline-block">
|
||||
<a class="btn dropdown-toggle" id="whitelist-dropdown-id" data-icon="🖼" href="#" tabindex="-1"><span data-i18n="SETTINGS_GENERAL/IMAGES_WHITELIST"></span> ▼</a>
|
||||
<menu class="dropdown-menu right-edge" role="menu" aria-labelledby="whitelist-dropdown-id">
|
||||
<!-- ko foreach: message().whitelistOptions() -->
|
||||
<li role="presentation">
|
||||
<a href="#" tabindex="-1" data-bind="click: $root.whitelistText, text: $data"></a>
|
||||
</li>
|
||||
<!-- /ko -->
|
||||
</menu>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue