webstaff: rename subscription management tab
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 24 Apr 2017 21:22:28 +0000 (17:22 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 24 Apr 2017 21:22:28 +0000 (17:22 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/serials/t_manage.tt2
Open-ILS/web/js/ui/default/staff/serials/app.js

index 58bfc20..61a11ee 100644 (file)
@@ -7,7 +7,7 @@
     <uib-tabset active="active_tab"> 
       <!-- note that non-numeric index values must be enclosed in single-quotes,
            otherwise selecting the active table won't work cleanly -->
-      <uib-tab index="'create-subscription'" heading="[% l('Create Subscription') %]">
+      <uib-tab index="'manage-subscriptions'" heading="[% l('Manage Subscriptions') %]">
         <eg-subscription-manager bib-id="bib_id"></eg-subscription-manager>
       </uib-tab>
       <uib-tab index="'prediction'" heading="[% l('Manage Predictions') %]">
index 50493a1..e65ae41 100644 (file)
@@ -32,5 +32,5 @@ angular.module('egSerialsApp')
        ['$scope','$routeParams','$location',
 function($scope , $routeParams , $location) {
     $scope.bib_id = $routeParams.bib_id;
-    $scope.active_tab = $routeParams.active_tab ?  $routeParams.active_tab : 'create-subscription';
+    $scope.active_tab = $routeParams.active_tab ?  $routeParams.active_tab : 'manage-subscriptions';
 }])