<!--ul class="row">
	<li class="strong"><translate>print.models.tree_view</translate>
		<button style="float:right; height:95%" ng-if="selectmanager.currentlySelected.id != null" 
			class="btn btn-danger" ng-click="selectmanager.delete()"><translate>print.models.block_delete</translate></button> 
	</li>
</ul-->


<div class="panel-group" data-animation="am-flip-x" style="padding:5px;" bs-collapse>
    <div class="panel panel-default">
        <div class="panel-heading">
            <h4 class="panel-title">
                <a bs-collapse-toggle>
                    <div class="row">
                        <div class="col-md-12">
                            <div class="col-md-9" style="padding:5px 0 0 0;">
                                <strong> <translate>print.models.tree_view</translate></strong>
                            </div>
                            <div class="col-md-3" style="padding-right:0;">
                                <button style="float:right; height:95%;" ng-if="selectmanager.currentlySelected.id != null" 
                                        class="btn btn-danger btn-xs" ng-click="openPopup();">
                                        <translate>print.models.block_delete</translate>
                                </button>
                        </div>
                    </div>
                </a> 
            </h4>
        </div>
        <div class="panel-collapse collapse" bs-collapse-target>
            <div class="row">
                <div class="col-md-12">
                    <abn-tree style="width:100%;" tree-data="pagemanager.featdata" tree-control="pagemanager.feattree" expanded="true" expand-level="0"  >
                    </abn-tree>
                </div>
            </div>
        </div>
    </div>
</div>
