From: Mike Rylander Date: Tue, 7 Apr 2015 19:00:22 +0000 (-0400) Subject: webstaff: integrate Manage Authorities UI X-Git-Tag: sprint4-merge-nov22~1143 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=df34f1f9271bbd22088c2b64360507d6da198e3c;p=working%2FEvergreen.git webstaff: integrate Manage Authorities UI Will require modification to de-XUL-ify in a later sprint Signed-off-by: Mike Rylander Signed-off-by: Galen Charlton Signed-off-by: Jason Stephenson --- diff --git a/Open-ILS/src/templates/staff/cat/catalog/t_manageauthorities.tt2 b/Open-ILS/src/templates/staff/cat/catalog/t_manageauthorities.tt2 new file mode 100644 index 0000000000..e073258c69 --- /dev/null +++ b/Open-ILS/src/templates/staff/cat/catalog/t_manageauthorities.tt2 @@ -0,0 +1 @@ + diff --git a/Open-ILS/src/templates/staff/navbar.tt2 b/Open-ILS/src/templates/staff/navbar.tt2 index de0b1cd084..c61df459eb 100644 --- a/Open-ILS/src/templates/staff/navbar.tt2 +++ b/Open-ILS/src/templates/staff/navbar.tt2 @@ -222,6 +222,13 @@ [% l('Link Checker') %] +
  • +
  • + + + [% l('Manage Authorities') %] + +
  • diff --git a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js index ab678eb7ec..cea473ec32 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js @@ -72,6 +72,12 @@ angular.module('egCatalogApp', ['ui.bootstrap','ngRoute','egCoreMod','egGridMod' resolve : resolver }); + $routeProvider.when('/cat/catalog/manageAuthorities', { + templateUrl: './cat/catalog/t_manageauthorities', + controller: 'ManageAuthoritiesCtrl', + resolve : resolver + }); + $routeProvider.otherwise({redirectTo : '/cat/catalog/index'}); }) @@ -372,6 +378,12 @@ function($scope , $location) { $scope.vandelay_url = $location.absUrl().replace(/\/staff.*/, '/vandelay/vandelay'); }]) +.controller('ManageAuthoritiesCtrl', + ['$scope','$location', +function($scope , $location) { + $scope.manageauthorities_url = $location.absUrl().replace(/\/staff.*/, '/cat/authority/list'); +}]) + .controller('BatchEditCtrl', ['$scope','$location','$routeParams', function($scope , $location , $routeParams) {