9.4.0 • Published 3 months ago

@ovh-ux/ng-ovh-otrs v9.4.0

Weekly downloads
31
License
BSD-3-Clause
Repository
github
Last release
3 months ago

ng-ovh-otrs

Manage OVH OTRS tickets

npm version Downloads Dependencies Dev Dependencies

Install

yarn add @ovh-ux/ng-ovh-otrs

Usage

import angular from 'angular';
import '@ovh-ux/ng-ovh-otrs';

angular.module('myApp', ['ngOvhOtrs']).config(
  /* @ngInject */ (OtrsPopupProvider) => {
    // Inject it to manager-navbar at app.config:
    OtrsPopupProvider.setBaseUrlTickets('…');
  },
);
const assistanceMenu = [
  {
    title: $translate.instant('otrs_menu_new_ticket'),
    click: (callback) => {
      if (!OtrsPopupService.isLoaded()) {
        OtrsPopupService.init();
      } else {
        OtrsPopupService.toggle();
      }

      if (_.isFunction(callback)) {
        callback();
      }
    },
  },
];

Test

yarn test

Contributing

Always feel free to help out! Whether it's filing bugs and feature requests or working on some of the open issues, our contributing guide will help get you started.

License

BSD-3-Clause © OVH SAS

9.4.0

3 months ago

9.3.1

5 months ago

9.3.0

6 months ago

9.2.12

8 months ago

9.2.11

1 year ago

9.2.10

1 year ago

9.2.9

1 year ago

9.2.8

1 year ago

9.2.7

2 years ago

9.2.6

2 years ago

9.2.5

2 years ago

9.2.4

2 years ago

9.2.3

3 years ago

9.2.2

3 years ago

9.2.1

3 years ago

9.2.0

3 years ago

9.1.3

3 years ago

9.1.2

3 years ago

9.1.1

4 years ago

9.1.0

4 years ago

9.0.3

5 years ago

7.1.12

5 years ago

9.0.2

5 years ago

9.0.1

5 years ago

7.1.11

5 years ago

9.0.0

5 years ago

8.0.2

5 years ago

7.1.10

5 years ago

7.1.9

5 years ago

7.1.8

5 years ago

8.0.1

5 years ago

8.0.0

5 years ago

7.1.7

5 years ago

7.1.6

5 years ago

7.1.5

5 years ago

7.1.4

5 years ago

7.1.3

5 years ago

7.1.2

5 years ago

7.1.1

5 years ago

7.1.0

5 years ago

7.0.2

5 years ago

7.0.1

5 years ago

7.0.0

5 years ago

7.0.0-beta.1

5 years ago

7.0.0-beta.0

5 years ago