Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@ovh-ux/ng-ovh-otrs

9.1.0 • Public • Published

ng-ovh-otrs

Manage OVH OTRS tickets

npm version Downloads Dependencies Dev Dependencies Gitter

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

Install

npm i @ovh-ux/ng-ovh-otrs

DownloadsWeekly Downloads

0

Version

9.1.0

License

BSD-3-Clause

Unpacked Size

1.14 MB

Total Files

59

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar