SearchKit - Expose default display to the UI
[civicrm-core.git] / ext / search_kit / ang / crmSearchAdmin / searchListing / buttons.html
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">
5 {{:: ts('Edit') }}
6 </a>
7 <a class="btn btn-xs btn-secondary" href="#/create/{{:: row.data.api_entity + '?params=' + $ctrl.encode(row.data.api_params) }}">
8 {{:: ts('Clone') }}
9 </a>
10 <a href class="btn btn-xs btn-danger" ng-click="$ctrl.confirmDelete(row)">
11 {{:: ts('Delete') }}
12 </a>