<ul style='list-style-type: none; padding-left: 15px;'>
    {{#each result}}
        {{#if childConcept.activeStatus}}
            <li data-module="{{childConcept.moduleId}}" data-concept-id='{{childConcept.id}}' data-term='{{childConcept.fullySpecifiedName}}' class='treeLabel'>
                <button class='btn btn-link btn-xs treeButton' style='padding:2px'>
                    <i class='glyphicon glyphicon-{{#if_eq ../../selectedView "inferred"}}{{#if_eq countOfChildrens 0}}minus{{else}}chevron-right{{/if_eq}}{{else}}{{#if_eq isLeafStated true}}minus{{else}}chevron-right{{/if_eq}}{{/if_eq}} treeButton' id='{{../../divElementId}}-treeicon-{{childConcept.id}}'></i>
                </button>
                {{#if_eq childConcept.definitionStatusId "PRIMITIVE"}}
                    <span class="badge alert-warning" draggable="true" ondragstart="drag(event, '{{../../divElementId}}')" data-module="{{childConcept.moduleId}}" data-concept-id="{{childConcept.id}}" data-term="{{childConcept.fullySpecifiedName}}" data-definitionStatus="{{childConcept.definitionStatusId}}">&nbsp;&nbsp;</span>&nbsp;&nbsp;
                {{else}}
                    <span class="badge alert-warning" draggable="true" ondragstart="drag(event, '{{../../divElementId}}')" data-module="{{childConcept.moduleId}}" data-concept-id="{{childConcept.id}}" data-term="{{childConcept.fullySpecifiedName}}" data-definitionStatus="{{childConcept.definitionStatusId}}">&equiv;</span>&nbsp;&nbsp;
                {{/if_eq}}

                <a href="javascript:void(0);" style="color: inherit;text-decoration: inherit;">
                    <span class="treeLabel selectable-row" data-module="{{childConcept.moduleId}}" data-concept-id="{{childConcept.id}}" data-term="{{childConcept.fullySpecifiedName}}" data-definitionStatus="{{childConcept.definitionStatusId}}" id="{{../../divElementId}}-treenode-{{childConcept.id}}">{{childConcept.fullySpecifiedName}} </span>&nbsp;&nbsp;
                    {{#if_eq ../../displayCount "On"}}
                    <span class="text-muted" data-{{../../../divElementId}}-descendants="{{countOfChildrens}}" style="visibility:visible"> {{countOfChildrens}}</span> 
                    {{else}}
                    <span class="text-muted" data-{{../../../divElementId}}-descendants="{{countOfChildrens}}" style="visibility:hidden"> {{countOfChildrens}}</span>
                    {{/if_eq}}
                </a>
                {{push childConcept.id}}
            </li>
        {{/if}}
    {{/each}}
</ul>
