1
0
mirror of /repos/Prototyper.git synced 2025-12-30 06:31:32 +01:00

added default_icon

This commit is contained in:
Aiko Mastboom 2013-04-28 13:11:28 +02:00
parent 4fa53fcd01
commit 772df77030
2 changed files with 2 additions and 1 deletions

View File

@ -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') -->

View File

@ -1,4 +1,5 @@
{
"default_icon": "icon-eye-open",
"links": [
{
"title": "Prototyper",