<h3 class="panel-title">
    <span translate>{{definition.title}}</span><span>{{definition.description}}</span>
    <span class="pull-right">
    <a href="" title="{{ translate('ADF_WIDGET_TOOLTIP_REFRESH') }}" ng-if="widget.reload" ng-click="reload()">
      <i class="glyphicon glyphicon-refresh"></i>
    </a>
        <!-- change widget location -->
    <a href="" title="{{ translate('ADF_WIDGET_TOOLTIP_MOVE') }}" class="adf-move" ng-if="editMode">
      <i class="glyphicon glyphicon-move"></i>
    </a>
        <!-- collapse -->
    <a href="" title="{{ translate('ADF_WIDGET_TOOLTIP_COLLAPSE') }}" ng-show="options.collapsible && !widgetState.isCollapsed"
            ng-click="widgetState.isCollapsed = !widgetState.isCollapsed">
      <i class="glyphicon glyphicon-minus"></i>
    </a>
        <!-- expand -->
    <a href="" title="{{ translate('ADF_WIDGET_TOOLTIP_EXPAND') }}" ng-show="options.collapsible && widgetState.isCollapsed"
            ng-click="widgetState.isCollapsed = !widgetState.isCollapsed">
      <i class="glyphicon glyphicon-plus"></i>
    </a>
        <!-- open edit mode -->
    <a href="" title="{{ translate('ADF_WIDGET_TOOLTIP_EDIT') }}" ng-click="edit()" ng-if="editMode">
      <i class="glyphicon glyphicon-cog"></i>
    </a>
    <a href="" title="{{ translate('ADF_WIDGET_TOOLTIP_FULLSCREEN') }}" ng-click="openFullScreen()" ng-show="options.maximizable">
     <i class="glyphicon glyphicon-fullscreen"></i>
    </a>
        <!-- remove widget -->
    <a href="" title="{{ translate('ADF_WIDGET_TOOLTIP_REMOVE') }}" ng-click="remove()" ng-if="editMode">
      <i class="glyphicon glyphicon-remove"></i>
    </a>
  </span>
</h3>
