Merge pull request #3962 from furinvader/refactoring/wp-buttons

Refactor WP button directives
pull/3963/head
Alex Dik 9 years ago
commit 29e2e779c1
  1. 2
      frontend/app/components/wp-buttons/wp-create-button/types-drop-down-menu.service.js
  2. 0
      frontend/app/components/wp-buttons/wp-create-button/types-drop-down-menu.template.html
  3. 0
      frontend/app/components/wp-buttons/wp-create-button/wp-create-button.directive.html
  4. 2
      frontend/app/components/wp-buttons/wp-create-button/wp-create-button.directive.js
  5. 0
      frontend/app/components/wp-buttons/wp-view-button/wp-view-button.directive.html
  6. 2
      frontend/app/components/wp-buttons/wp-view-button/wp-view-button.directive.js
  7. 0
      frontend/app/components/wp-buttons/wp-watcher-button/wp-watcher-button.directive.html
  8. 2
      frontend/app/components/wp-buttons/wp-watcher-button/wp-watcher-button.directive.js

@ -33,7 +33,7 @@ angular
function typesDropDownMenu(ngContextMenu) {
return ngContextMenu({
templateUrl: '/components/wp-buttons/create-button/types-drop-down-menu.template.html',
templateUrl: '/components/wp-buttons/wp-create-button/types-drop-down-menu.template.html',
container: '.wp-create-button'
});
}

@ -33,7 +33,7 @@ angular
function wpCreateButton() {
return {
restrict: 'E',
templateUrl: '/components/wp-buttons/create-button/create-button.directive.html',
templateUrl: '/components/wp-buttons/wp-create-button/wp-create-button.directive.html',
scope: {
projectIdentifier: '=',

@ -33,7 +33,7 @@ angular
function wpViewButton() {
return {
restrict: 'E',
templateUrl: '/components/wp-buttons/view-button/view-button.directive.html',
templateUrl: '/components/wp-buttons/wp-view-button/wp-view-button.directive.html',
controller: WorkPackageViewButtonController
};

@ -33,7 +33,7 @@ angular
function wpWatcherButton() {
return {
replace: true,
templateUrl: '/components/wp-buttons/watcher-button/watcher-button.directive.html',
templateUrl: '/components/wp-buttons/wp-watcher-button/wp-watcher-button.directive.html',
scope: {
workPackage: '=',
Loading…
Cancel
Save