1 (function(angular
, $, _
) {
3 angular
.module('crmDashboard').component('crmInactiveDashlet', {
8 templateUrl
: '~/crmDashboard/InactiveDashlet.html',
9 controller: function ($scope
, $element
) {
10 var ts
= $scope
.ts
= CRM
.ts(),
12 ctrl
.isAdmin
= CRM
.checkPerm('administer CiviCRM');
14 this.$onInit = function() {
15 ctrl
.confirmParams
= {
19 message
: ts('Do you want to remove this dashlet as an "Available Dashlet", AND delete it from all user dashboards?')
25 })(angular
, CRM
.$, CRM
._
);