View | Details | Raw Unified | Return to bug 32147
Collapse All | Expand All

(-)a/installer/data/mysql/db_revs/220600079.pl (-1 / +1 lines)
Lines 9-15 return { Link Here
9
9
10
        $dbh->do(q{
10
        $dbh->do(q{
11
            INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
11
            INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
12
            VALUES ('ERMModule', '0', NULL, 'Enable the E-Resource management module', 'YesNo');
12
            VALUES ('ERMModule', '0', NULL, 'Enable the e-resource management module', 'YesNo');
13
        });
13
        });
14
14
15
        say $out "Added new system preference 'ERMModule'";
15
        say $out "Added new system preference 'ERMModule'";
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-1 / +1 lines)
Lines 222-228 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
222
('EnableItemGroupHolds','0','','Enable item groups holds feature','YesNo'),
222
('EnableItemGroupHolds','0','','Enable item groups holds feature','YesNo'),
223
('EnhancedMessagingPreferences','1','','If ON, allows patrons to select to receive additional messages about items due or nearly due.','YesNo'),
223
('EnhancedMessagingPreferences','1','','If ON, allows patrons to select to receive additional messages about items due or nearly due.','YesNo'),
224
('EnhancedMessagingPreferencesOPAC', '1', NULL, 'If ON, show patrons messaging setting on the OPAC.', 'YesNo'),
224
('EnhancedMessagingPreferencesOPAC', '1', NULL, 'If ON, show patrons messaging setting on the OPAC.', 'YesNo'),
225
('ERMModule', '0', NULL, 'Enable the E-Resource management module', 'YesNo'),
225
('ERMModule', '0', NULL, 'Enable the e-resource management module', 'YesNo'),
226
('ERMProviders', 'local', 'local|ebsco', 'Set the providers for the ERM module', 'Choice'),
226
('ERMProviders', 'local', 'local|ebsco', 'Set the providers for the ERM module', 'Choice'),
227
('ERMProviderEbscoApiKey', '', '', 'API key for EBSCO', 'free'),
227
('ERMProviderEbscoApiKey', '', '', 'API key for EBSCO', 'free'),
228
('ERMProviderEbscoCustomerID', '', '', 'Customer ID for EBSCO', 'free'),
228
('ERMProviderEbscoCustomerID', '', '', 'Customer ID for EBSCO', 'free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc (-1 / +1 lines)
Lines 44-50 Link Here
44
                        <li><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a></li>
44
                        <li><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a></li>
45
                    [% END %]
45
                    [% END %]
46
                    [% IF Koha.Preference('ERMModule') && CAN_user_erm %]
46
                    [% IF Koha.Preference('ERMModule') && CAN_user_erm %]
47
                        <li><a href="/cgi-bin/koha/erm/erm.pl">E-Resource management</a></li>
47
                        <li><a href="/cgi-bin/koha/erm/erm.pl">E-resource management</a></li>
48
                    [% END %]
48
                    [% END %]
49
                    [% IF ( Koha.Preference('UseCourseReserves') ) %]
49
                    [% IF ( Koha.Preference('UseCourseReserves') ) %]
50
                        <li><a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a></li>
50
                        <li><a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc (-2 / +2 lines)
Lines 71-81 Link Here
71
71
72
        [% IF ( erm ) %]
72
        [% IF ( erm ) %]
73
            <li class="active">
73
            <li class="active">
74
                <a title="E-Resource management" href="/cgi-bin/koha/admin/preferences.pl?tab=erm">E-Resource management</a>
74
                <a title="E-resource management" href="/cgi-bin/koha/admin/preferences.pl?tab=erm">E-resource management</a>
75
                [% PROCESS subtabs  %]
75
                [% PROCESS subtabs  %]
76
        [% ELSE %]
76
        [% ELSE %]
77
            <li>
77
            <li>
78
                <a title="E-Resource management" href="/cgi-bin/koha/admin/preferences.pl?tab=erm">E-Resource management</a>
78
                <a title="E-resource management" href="/cgi-bin/koha/admin/preferences.pl?tab=erm">E-resource management</a>
79
        [% END %]
79
        [% END %]
80
        </li>
80
        </li>
81
81
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-11 / +11 lines)
Lines 502-528 Link Here
502
        [% CASE 'ETAT' %]
502
        [% CASE 'ETAT' %]
503
            <p>Used in French UNIMARC installations in field 995 $o to identify item status. Similar to NOT_LOAN</p>
503
            <p>Used in French UNIMARC installations in field 995 $o to identify item status. Similar to NOT_LOAN</p>
504
        [% CASE 'ERM_AGREEMENT_CLOSURE_REASON' %]
504
        [% CASE 'ERM_AGREEMENT_CLOSURE_REASON' %]
505
            <p>Close reasons for agreements (E-Resource management module)</p>
505
            <p>Close reasons for agreements (e-resource management module)</p>
506
        [% CASE 'ERM_AGREEMENT_LICENSE_LOCATION' %]
506
        [% CASE 'ERM_AGREEMENT_LICENSE_LOCATION' %]
507
            <p>Locations of the licenses' agreements (E-Resource management module)</p>
507
            <p>Locations of the licenses' agreements (e-resource management module)</p>
508
        [% CASE 'ERM_AGREEMENT_LICENSE_STATUS' %]
508
        [% CASE 'ERM_AGREEMENT_LICENSE_STATUS' %]
509
            <p>Statuses of the licenses' agreements(E-Resource management module)</p>
509
            <p>Statuses of the licenses' agreements (e-resource management module)</p>
510
        [% CASE 'ERM_AGREEMENT_RENEWAL_PRIORITY' %]
510
        [% CASE 'ERM_AGREEMENT_RENEWAL_PRIORITY' %]
511
            <p>Renewal priorities of agreements (E-Resource management module)</p>
511
            <p>Renewal priorities of agreements (e-resource management module)</p>
512
        [% CASE 'ERM_AGREEMENT_STATUS' %]
512
        [% CASE 'ERM_AGREEMENT_STATUS' %]
513
            <p>Statuses of agreements (E-Resource management module)</p>
513
            <p>Statuses of agreements (e-resource management module)</p>
514
        [% CASE 'ERM_USER_ROLES' %]
514
        [% CASE 'ERM_USER_ROLES' %]
515
            <p>Roles for users (E-Resource management module)</p>
515
            <p>Roles for users (e-resource management module)</p>
516
        [% CASE 'ERM_LICENSE_STATUS' %]
516
        [% CASE 'ERM_LICENSE_STATUS' %]
517
            <p>Statuses of the licenses (E-Resource management module)</p>
517
            <p>Statuses of the licenses (e-resource management module)</p>
518
        [% CASE 'ERM_LICENSE_TYPE' %]
518
        [% CASE 'ERM_LICENSE_TYPE' %]
519
            <p>Types of the licenses (E-Resource management module)</p>
519
            <p>Types of the licenses (e-resource management module)</p>
520
        [% CASE 'ERM_PACKAGE_CONTENT_TYPE' %]
520
        [% CASE 'ERM_PACKAGE_CONTENT_TYPE' %]
521
            <p>Content type of the packages (E-Resource management module)</p>
521
            <p>Content type of the packages (e-resource management module)</p>
522
        [% CASE 'ERM_PACKAGE_TYPE' %]
522
        [% CASE 'ERM_PACKAGE_TYPE' %]
523
            <p>Types of the packages (E-Resource management module)</p>
523
            <p>Types of the packages (e-resource management module)</p>
524
        [% CASE 'ERM_TITLE_PUBLICATION_TYPE' %]
524
        [% CASE 'ERM_TITLE_PUBLICATION_TYPE' %]
525
            <p>Publication types of the titles (E-Resource management module)</p>
525
            <p>Publication types of the titles (e-resource management module)</p>
526
        [% CASE 'HINGS_AS' %]
526
        [% CASE 'HINGS_AS' %]
527
            <p>General holdings: acquisition status designator :: This data element specifies acquisition status for the unit at the time of the holdings report.</p>
527
            <p>General holdings: acquisition status designator :: This data element specifies acquisition status for the unit at the time of the holdings report.</p>
528
        [% CASE 'HINGS_C' %]
528
        [% CASE 'HINGS_C' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt (-2 / +2 lines)
Lines 318-330 Link Here
318
                                    <div class="panel-heading" role="tab" id="ermHeading">
318
                                    <div class="panel-heading" role="tab" id="ermHeading">
319
                                        <h2 class="panel-title">
319
                                        <h2 class="panel-title">
320
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#erm" aria-expanded="false" aria-controls="collapseOne">
320
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#erm" aria-expanded="false" aria-controls="collapseOne">
321
                                                 E-Resource management
321
                                                 E-resource management
322
                                            </a>
322
                                            </a>
323
                                        </h2>
323
                                        </h2>
324
                                    </div> <!-- /.panel-heading -->
324
                                    </div> <!-- /.panel-heading -->
325
                                    <div id="erm" class="panel-collapse collapse" role="tabpanel" aria-labelledby="ermHeading">
325
                                    <div id="erm" class="panel-collapse collapse" role="tabpanel" aria-labelledby="ermHeading">
326
                                        <div class="panel-body">
326
                                        <div class="panel-body">
327
                                            <h3>E-Resource management tables</h3>
327
                                            <h3>E-resource management tables</h3>
328
                                            [% PROCESS pagelist module=modules.erm modulename="erm" %]
328
                                            [% PROCESS pagelist module=modules.erm modulename="erm" %]
329
                                        </div> <!-- /.panel-body -->
329
                                        </div> <!-- /.panel-body -->
330
                                    </div> <!-- /.panel-collapse -->
330
                                    </div> <!-- /.panel-collapse -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/erm.pref (-3 / +3 lines)
Lines 1-13 Link Here
1
E-Resource management:
1
E-resource management:
2
    Interface:
2
    Interface:
3
        -
3
        -
4
            - pref: ERMModule
4
            - pref: ERMModule
5
              choices:
5
              choices:
6
                  1: Enable
6
                  1: Enable
7
                  0: Disable
7
                  0: Disable
8
            - the E-Resource management module
8
            - the e-resource management module
9
        -
9
        -
10
            - Providers for the E-Resource management module
10
            - Providers for the e-resource management module
11
            - pref: ERMProviders
11
            - pref: ERMProviders
12
              multiple:
12
              multiple:
13
                  local: Local
13
                  local: Local
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt (-1 / +1 lines)
Lines 8-14 Link Here
8
[% PROCESS 'i18n.inc' %]
8
[% PROCESS 'i18n.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
10
<title>
10
<title>
11
    E-Resource management &rsaquo; Koha
11
    E-resource management &rsaquo; Koha
12
</title>
12
</title>
13
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
14
</head>
14
</head>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (-1 / +1 lines)
Lines 114-120 Link Here
114
114
115
                            [% IF Koha.Preference('ERMModule') && CAN_user_erm %]
115
                            [% IF Koha.Preference('ERMModule') && CAN_user_erm %]
116
                            <li>
116
                            <li>
117
                                <a class="icon_general icon_erm" href="/cgi-bin/koha/erm/erm.pl"><i class="fa fa-fw fa-external-link-square"></i>E-Resource management</a>
117
                                <a class="icon_general icon_erm" href="/cgi-bin/koha/erm/erm.pl"><i class="fa fa-fw fa-external-link-square"></i>E-resource management</a>
118
                            </li>
118
                            </li>
119
                            [% END %]
119
                            [% END %]
120
120
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/ERMMain.vue (-2 / +2 lines)
Lines 14-20 Link Here
14
                    <aside>
14
                    <aside>
15
                        <div id="navmenu">
15
                        <div id="navmenu">
16
                            <div id="navmenulist">
16
                            <div id="navmenulist">
17
                                <h5>{{ $__("E-Resource management") }}</h5>
17
                                <h5>{{ $__("E-resource management") }}</h5>
18
                                <ul>
18
                                <ul>
19
                                    <li>
19
                                    <li>
20
                                        <router-link
20
                                        <router-link
Lines 112-118 Link Here
112
    <div v-else>
112
    <div v-else>
113
        {{
113
        {{
114
            $__(
114
            $__(
115
                "The E-Resource management module is disabled, turn on 'ERMModule' to use it"
115
                "The e-resource management module is disabled, turn on 'ERMModule' to use it"
116
            )
116
            )
117
        }}
117
        }}
118
    </div>
118
    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/routes.js (-2 / +1 lines)
Lines 30-36 const breadcrumbs = { Link Here
30
        path: "/cgi-bin/koha/mainpage.pl",
30
        path: "/cgi-bin/koha/mainpage.pl",
31
    },
31
    },
32
    erm_home: {
32
    erm_home: {
33
        text: "E-Resource management", // $t("E-Resource management")
33
        text: "E-resource management", // $t("E-resource management")
34
        path: "/cgi-bin/koha/erm/erm.pl",
34
        path: "/cgi-bin/koha/erm/erm.pl",
35
    },
35
    },
36
    agreements: {
36
    agreements: {
37
- 

Return to bug 32147