2015-05-14 08:44:38 +02:00
|
|
|
<script type="text/ng-template" id="cat_renderer.html">
|
2015-07-13 19:01:03 +02:00
|
|
|
<p ng-class="{'cat-tree-category':cat.type=='menuCat'}">{{cat.title}}</p>
|
|
|
|
<ul class="cat-tree"><li ng-repeat="cat in cat.nodes track by cat.id" ng-include="'cat_renderer.html'"></li></ul>
|
2015-05-14 08:44:38 +02:00
|
|
|
</script>
|
|
|
|
<div class="panel panel-default">
|
2015-07-09 17:38:35 +02:00
|
|
|
<div class="panel-heading">
|
2015-05-14 08:44:38 +02:00
|
|
|
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
|
|
|
|
</div>
|
2015-07-13 19:01:03 +02:00
|
|
|
<div class="panel-body">
|
|
|
|
<ul class="cat-tree">
|
|
|
|
<li ng-repeat="cat in currentNode.nodes track by cat.id" ng-include="'cat_renderer.html'"></li>
|
2015-07-09 17:38:35 +02:00
|
|
|
</ul>
|
2015-07-13 19:01:03 +02:00
|
|
|
</div>
|
2015-05-14 08:44:38 +02:00
|
|
|
</div>
|
2016-02-16 07:21:40 +01:00
|
|
|
<script type="text/menu">
|
|
|
|
[{
|
2015-07-13 19:01:03 +02:00
|
|
|
"title": "newCat",
|
|
|
|
"icon": "plus-sign"
|
2016-02-16 07:21:40 +01:00
|
|
|
}]
|
2015-05-14 08:44:38 +02:00
|
|
|
</script>
|