<div class="af-gui-bar">
  <div class="form-inline">
    <span>{{:: $ctrl.display['saved_search_id.label'] }}: {{:: $ctrl.display.label }}</span>
    <div class="btn-group pull-right" af-gui-menu ng-if="$ctrl.editUrl">
      <button type="button" class="btn btn-default btn-xs dropdown-toggle af-gui-add-element-button" data-toggle="dropdown" title="{{:: ts('Configure') }}">
        <span><i class="crm-i fa-gear" role="img" aria-hidden="true"></i></span>
      </button>
      <ul class="dropdown-menu" ng-if="menu.open">
        <li>
          <a target="_blank" ng-href="{{:: $ctrl.editUrl }}">
            <i class="crm-i fa-external-link" role="img" aria-hidden="true"></i> {{:: ts('Edit Saved Search') }}
          </a>
        </li>
      </ul>
    </div>
  </div>
</div>
<p class="text-center af-gui-search-display">
  <i class="crm-i fa-3x {{:: $ctrl.display['type:icon'] }}" role="img" aria-hidden="true"></i>
</p>
