ovh-angular-otrs
v7.0.0-alpha.1
Published
Manage OTRS tickets
Downloads
88
Keywords
Readme
Manage OTRS tickets
Installation
Bower
bower install ovh-angular-otrs --save
NPM
npm install ovh-angular-otrs --save
Howto's
Inject module
angular.module("myApp", ["ovh-angular-otrs"]);
Inject it to manager-navbar at app.config:
angular.module("myApp")
.config((OtrsPopupProvider) => {
OtrsPopupProvider.setBaseUrlTickets("…");
});
…
const assistanceMenu = [];
assistanceMenu.push({
title: $translate.instant("otrs_menu_new_ticket"),
click: (callback) => {
if (!OtrsPopupService.isLoaded()) {
OtrsPopupService.init();
} else {
OtrsPopupService.toggle();
}
if (_.isFunction(callback)) {
callback();
}
}
});
…
Get the sources
git clone https://github.com/ovh-ux/ovh-angular-otrs.git
cd ovh-angular-otrs
npm install
bower install
You've developed a new cool feature? Fixed an annoying bug? We'd be happy to hear from you!
Have a look in CONTRIBUTING.md
Run the tests
npm test
Related links
- Contribute: https://github.com/ovh-ux/ovh-angular-otrs/blob/master/CONTRIBUTING.md
- Report bugs: https://github.com/ovh-ux/ovh-angular-otrs/issues
- Get latest version: https://github.com/ovh-ux/ovh-angular-otrs
License
See https://github.com/ovh/ovh-angular-otrs/blob/master/LICENSE.md