<div class="bootstrap-wrapper s4-notdlg">
    <div class="wt-footer clearfix">
        <div class="container-fluid">
            <div class="row">
                <div class="wt-footer-categories">
                    <div class="wt-footer-category-column col-sm-4 col-xs-6"
                         ng-repeat="category in vm.footer.categories"
                         ng-if="category.links.length > 0">

                        <div>
                            <div class="float-wrapper">
                                <div>
                                    <span class="wt-footer-categoryname">
                                        {{category.name}}
                                    </span>
                                </div>
                            </div>
                        </div>

                        <ul class="wt-footer-linklist">
                            <li class="wt-footer-link"
                                ng-repeat="link in category.links | filter:q as results">
                                <a href="{{link.smarturl}}"
                                   target="{{link.openInNewWindow?'_blank':'_self'}}"
                                   title="{{link.description}}">
                                    {{link.smartname}}
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="wt-footer-text col-sm-12 col-xs-12">
                    <span>{{::vm.footerText}}</span>
                    <span ng-if="::vm.shouldShowEditLinksIcon" style="float:right">
                        <a>
                            <i class="glyphicon glyphicon-pencil" style="color:lightgray;cursor:pointer" ng-click="vm.editServiceMenu()"></i>
                        </a>
                    </span>
                </div>
            </div>
        </div>
    </div>
</div>