--- /dev/null
+<div ng-controller="CrmCxnConfirmAboutCtrl">
+ <div crm-ui-accordion="{title: ts('About'), collapsed: false}">
+ <div ng-bind-html="appMeta.desc"></div>
+ </div>
+ <div crm-ui-accordion="{title: ts('Permissions: Summary'), collapsed: true}">
+ <div ng-bind-html="appMeta.perm.desc"></div>
+ </div>
+ <div crm-ui-accordion="{title: ts('Permissions: Details'), collapsed: true}">
+ <div crm-cxn-perm-table="{perm: appMeta.perm}"></div>
+ </div>
+ <div crm-ui-accordion="{title: ts('Advanced'), collapsed: true}">
+ <div crm-cxn-adv-table="{appMeta: appMeta}"></div>
+ </div>
+</div>
--- /dev/null
+(function(angular, $, _) {
+ angular.module('crmCxn').controller('CrmCxnConfirmAboutCtrl', function($scope) {
+ $scope.ts = CRM.ts(null);
+ });
+})(angular, CRM.$, CRM._);
</thead>
<tbody>
<tr ng-repeat="cxn in cxns | orderBy:cxnOrder.get()" ng-class-even="'even-row even'" ng-class-odd="'odd-row odd'">
- <td>{{cxn.app_meta.title}}</td>
+ <td>
+ <a class="action-item"
+ crm-confirm='{width: "65%", resizable: true, title:ts("%1: About", {1: cxn.app_meta.title}), templateUrl: "~/crmCxn/AboutCtrl.html", export: {appMeta: cxn.app_meta}}'
+ >{{cxn.app_meta.title}}</a>
+ </td>
<td><div ng-bind-html="cxn.app_meta.desc"></div></td>
<td>{{cxn.is_active ? ts('Enabled') : ts('Disabled')}}</td>
<td>
</thead>
<tbody>
<tr ng-repeat="appMeta in appMetas | orderBy:availOrder.get()" ng-show="!findCxnByAppId(appMeta.appId)">
- <td>{{appMeta.title}}</td>
+ <td>
+ <a crm-confirm='{width: "65%", resizable: true, title:ts("%1: About", {1: appMeta.title}), templateUrl: "~/crmCxn/AboutCtrl.html", export: {appMeta: appMeta}}'
+ >{{appMeta.title}}</a>
+ </td>
<td><div ng-bind-html="appMeta.desc"></div></td>
<td>
<a class="action-item crm-hover-button"