9.5.0 • Published 11 months ago

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

Weekly downloads
31
License
BSD-3-Clause
Repository
github
Last release
11 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.1

1 year ago

9.5.0

11 months ago

9.4.0

1 year ago

9.3.1

2 years ago

9.3.0

2 years ago

9.2.12

2 years ago

9.2.11

2 years ago

9.2.10

2 years ago

9.2.9

2 years ago

9.2.8

3 years ago

9.2.7

3 years ago

9.2.6

3 years ago

9.2.5

3 years ago

9.2.4

4 years ago

9.2.3

4 years ago

9.2.2

4 years ago

9.2.1

4 years ago

9.2.0

4 years ago

9.1.3

4 years ago

9.1.2

4 years ago

9.1.1

5 years ago

9.1.0

5 years ago

9.0.3

6 years ago

7.1.12

6 years ago

9.0.2

6 years ago

9.0.1

6 years ago

7.1.11

6 years ago

9.0.0

6 years ago

8.0.2

6 years ago

7.1.10

6 years ago

7.1.9

6 years ago

7.1.8

6 years ago

8.0.1

6 years ago

8.0.0

6 years ago

7.1.7

6 years ago

7.1.6

6 years ago

7.1.5

6 years ago

7.1.4

6 years ago

7.1.3

6 years ago

7.1.2

6 years ago

7.1.1

6 years ago

7.1.0

6 years ago

7.0.2

6 years ago

7.0.1

6 years ago

7.0.0

6 years ago

7.0.0-beta.1

6 years ago

7.0.0-beta.0

6 years ago