mirror of
/repos/Prototyper.git
synced 2025-12-30 06:31:32 +01:00
added default_icon
This commit is contained in:
parent
4fa53fcd01
commit
772df77030
@ -77,7 +77,7 @@
|
||||
<li data-bind="css: { 'dropdown-submenu': $data.hasOwnProperty('links')}">
|
||||
<!-- ko ifnot: $data.hasOwnProperty('links') -->
|
||||
<a href="#" data-bind="attr: { href: $data.url(), title: $data.title() }, click: $root._openLink">
|
||||
<span data-bind="attr: { class: $data.icon_class && $data.icon_class() || 'icon-eye-open' }"></span>
|
||||
<span data-bind="attr: { class: $data.icon_class && $data.icon_class() || $root.default_icon() }"></span>
|
||||
<span data-bind="text: $data.title()"></span>
|
||||
</a>
|
||||
<!-- /ko --><!-- ko if: $data.hasOwnProperty('links') -->
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
{
|
||||
"default_icon": "icon-eye-open",
|
||||
"links": [
|
||||
{
|
||||
"title": "Prototyper",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user