4 <th class=
"crm-search-admin-icon-col"></th>
5 <th class=
"crm-search-admin-icon-col">{{:: ts('Icon') }}
</th>
6 <th>{{:: ts('Open') }}
</th>
7 <th>{{:: ts('Text') }}
</th>
8 <th>{{:: ts('Link') }}
</th>
9 <th>{{:: ts('Style') }}
</th>
10 <th class=
"crm-search-admin-icon-col"></th>
13 <tbody ui-sortable=
"$ctrl.sortableOptions" ng-model=
"$ctrl.group">
14 <tr ng-repeat=
"item in $ctrl.group" class=
"crm-draggable">
15 <td class=
"crm-search-admin-icon-col">
16 <i class=
"crm-i fa-arrows crm-search-move-icon"></i>
18 <td class=
"crm-search-admin-icon-col">
19 <span class=
"crm-editable-enabled" ng-click=
"pickIcon($index)">
20 <i class=
"{{ item.icon ? 'crm-i ' + item.icon : '' }}" style=
"opacity: 1"></i>
24 <select class=
"form-control" ng-model=
"item.target">
25 <option value
>{{:: ts('Normal') }}
</option>
26 <option value=
"_blank">{{:: ts('New tab') }}
</option>
27 <option value=
"crm-popup">{{:: ts('Popup dialog') }}
</option>
31 <input type=
"text" class=
"form-control" ng-model=
"item.text">
33 <td class=
"form-inline">
34 <crm-search-admin-link-select api-entity=
"$ctrl.apiEntity" api-params=
"$ctrl.apiParams" link=
"item" links=
"$ctrl.links"></crm-search-admin-link-select>
37 <div class=
"btn-group">
38 <button type=
"button" style=
"min-width: 85px" class=
"btn btn-{{ item.style }} dropdown-toggle" data-toggle=
"dropdown" aria-haspopup=
"true" aria-expanded=
"false">
39 {{ $ctrl.getStyle(item).value }}
<span class=
"caret"></span>
41 <ul class=
"dropdown-menu dropdown-menu-right">
42 <li ng-repeat=
"opt in $ctrl.styles">
43 <a href
class=
"bg-{{:: opt.key }}" ng-click=
"item.style = opt.key">{{:: opt.value }}
</a>
48 <td class=
"crm-search-admin-icon-col">
49 <button ng-if=
"$ctrl.group.length > 1" type=
"button" class=
"btn btn-xs btn-danger-outline" ng-click=
"$ctrl.group.splice($index, 1)">
50 <i class=
"crm-i fa-times"></i>
57 <td colspan=
"6" class=
"form-inline">
58 <select class=
"form-control crm-search-admin-add-link" ng-show=
"$ctrl.links.length">
60 + {{:: ts('Add...') }}
62 <option ng-repeat=
"link in $ctrl.links" value=
"{{ link.path }}">
65 <option value=
"civicrm/">
66 {{:: ts('Other...') }}