SearchKit - Expose default display to the UI
[civicrm-core.git] / ext / search_kit / ang / crmSearchAdmin / searchListing / buttons.html
CommitLineData
5c952e51
CW
1<a class="btn btn-xs btn-default" title="{{:: ts('View search results table') }}" ng-href="{{:: $ctrl.searchDisplayPath + '#/display/' + row.data.name }}" target="_blank">
2 {{:: ts('View') }}
3</a>
4<a class="btn btn-xs btn-primary" href="#/edit/{{:: row.data.id }}" ng-if="row.permissionToEdit">
d102f836
CW
5 {{:: ts('Edit') }}
6</a>
5c952e51 7<a class="btn btn-xs btn-secondary" href="#/create/{{:: row.data.api_entity + '?params=' + $ctrl.encode(row.data.api_params) }}">
d102f836
CW
8 {{:: ts('Clone') }}
9</a>
b0c80c1b 10<a href class="btn btn-xs btn-danger" ng-click="$ctrl.confirmDelete(row)">
d102f836
CW
11 {{:: ts('Delete') }}
12</a>