<div class="col-sm-12">
  <div class="table-responsive">
    <table ng-table="table.params" class="table table-bordered table-hover table-condensed">
      <tr ng-repeat="item in $data | filter: searchText">
        <td data-title="'Data/Hora'" sortable="'when'">{{item.when | date: 'yyyy.MM.dd HH:mm'}}</td>
        <td data-title="'Utilizador'" sortable="'who.username'"><a ng-if="item.who" href="#user/view/{{item.who._id}}"><span class="fa fa-user"></span> {{item.who.username}}</a></td>

        <td data-title="'Acção'" sortable="'action'">{{item.module.action}}</td>
        <td data-title="'Objecto'" sortable="'what'">{{item.what}}</td>
      </tr>
    </table>
  </div>
</div>
