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

(-)a/Koha/Filter/MARC/ViewPolicy.pm (-2 / +1 lines)
Lines 33-40 my $processor = Koha::RecordProcessor->new( { filters => ('ViewPolicy') } ); Link Here
33
33
34
Filter to remove fields based on the 'Advance constraints'
34
Filter to remove fields based on the 'Advance constraints'
35
settings found when editing a particular subfield definition of
35
settings found when editing a particular subfield definition of
36
a MARC bibliographic framework found under the Koha administration
36
a MARC bibliographic framework found under the administration menu.
37
menu.
38
37
39
=cut
38
=cut
40
39
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt (-1 / +1 lines)
Lines 25-31 Link Here
25
[% END #/ WRAPPER sub-header.inc %]
25
[% END #/ WRAPPER sub-header.inc %]
26
26
27
[% WRAPPER 'main-container.inc' %]
27
[% WRAPPER 'main-container.inc' %]
28
    <h1>Koha administration</h1>
28
    <h1>Administration</h1>
29
    [% IF ( CAN_user_parameters_manage_mana ) %]
29
    [% IF ( CAN_user_parameters_manage_mana ) %]
30
        [% IF ( Koha.Preference('Mana') == 1) && !mana_url %]
30
        [% IF ( Koha.Preference('Mana') == 1) && !mana_url %]
31
            <div class="alert alert-info">
31
            <div class="alert alert-info">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (-1 / +1 lines)
Lines 175-181 Link Here
175
175
176
                        [% IF ( CAN_user_parameters || CAN_user_plugins_admin ) %]
176
                        [% IF ( CAN_user_parameters || CAN_user_plugins_admin ) %]
177
                            <li>
177
                            <li>
178
                                <a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl"><i class="fa fa-fw fa-gears"></i>Koha administration</a>
178
                                <a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl"><i class="fa fa-fw fa-gears"></i>Administration</a>
179
                            </li>
179
                            </li>
180
                        [% END %]
180
                        [% END %]
181
                    </ul>
181
                    </ul>
(-)a/misc/export_records.pl (-2 / +2 lines)
Lines 554-561 Print a brief help message. Link Here
554
554
555
--destination_server_id=ID      Provide this option, along with the destination server ID, to
555
--destination_server_id=ID      Provide this option, along with the destination server ID, to
556
                                upload the resultant mrc file to the selected file transport server.
556
                                upload the resultant mrc file to the selected file transport server.
557
                                You can create file transport servers via the Koha Staff client, under
557
                                You can create file transport servers using the Koha staff interface,
558
                                Koha Administration.
558
                                under Administration.
559
559
560
=item B<--delete_local_after_run>
560
=item B<--delete_local_after_run>
561
561
(-)a/t/db_dependent/selenium/administration_tasks.t (-8 / +7 lines)
Lines 15-21 Link Here
15
# You should have received a copy of the GNU General Public License
15
# You should have received a copy of the GNU General Public License
16
# along with Koha; if not, see <https://www.gnu.org/licenses>.
16
# along with Koha; if not, see <https://www.gnu.org/licenses>.
17
17
18
#This selenium test tests the Koha Administration module functionality including adding circ rules, item types and modifying frameworks
18
#This selenium test tests the Administration module functionality including adding circ rules, item types and modifying frameworks
19
19
20
#Note: If you are testing this on kohadevbox with selenium installed in kohadevbox then you need to set the staffClientBaseURL to localhost:8080 and the OPACBaseURL to http://localhost:80
20
#Note: If you are testing this on kohadevbox with selenium installed in kohadevbox then you need to set the staffClientBaseURL to localhost:8080 and the OPACBaseURL to http://localhost:80
21
21
Lines 55-61 SKIP: { Link Here
55
    $s->auth;
55
    $s->auth;
56
    {    # Item types
56
    {    # Item types
57
         # Navigate to the Administration area and create an item type
57
         # Navigate to the Administration area and create an item type
58
        $s->click( { href => '/admin/admin-home.pl', main       => 'container-main' } );          # Koha administration
58
        $s->click( { href => '/admin/admin-home.pl', main       => 'container-main' } );          # Administration
59
        $s->click( { href => '/admin/itemtypes.pl',  main_class => 'main container-fluid' } );    # Item Types
59
        $s->click( { href => '/admin/itemtypes.pl',  main_class => 'main container-fluid' } );    # Item Types
60
        $s->click( { href => '/admin/itemtypes.pl?op=add_form', main_class => 'main container-fluid' } )
60
        $s->click( { href => '/admin/itemtypes.pl?op=add_form', main_class => 'main container-fluid' } )
61
            ;                                                                                     # New item type
61
            ;                                                                                     # New item type
Lines 72-78 SKIP: { Link Here
72
    {    # Circulation/fine rules
72
    {    # Circulation/fine rules
73
        my $itype = $builder->build_object( { class => "Koha::ItemTypes" } );
73
        my $itype = $builder->build_object( { class => "Koha::ItemTypes" } );
74
        $driver->get($mainpage);
74
        $driver->get($mainpage);
75
        $s->click( { href => '/admin/admin-home.pl',  main       => 'container-main' } );        # Koha administration
75
        $s->click( { href => '/admin/admin-home.pl',  main       => 'container-main' } );        # Administration
76
        $s->click( { href => '/admin/smart-rules.pl', main_class => 'main container-fluid' } )
76
        $s->click( { href => '/admin/smart-rules.pl', main_class => 'main container-fluid' } )
77
            ;    # Circulation and fine rules
77
            ;    # Circulation and fine rules
78
        my $elt = $driver->find_element(
78
        my $elt = $driver->find_element(
Lines 96-102 SKIP: { Link Here
96
96
97
    {    # Biblio frameworks
97
    {    # Biblio frameworks
98
        $driver->get($mainpage);
98
        $driver->get($mainpage);
99
        $s->click( { href => '/admin/admin-home.pl',       main       => 'container-main' } );     # Koha administration
99
        $s->click( { href => '/admin/admin-home.pl',       main       => 'container-main' } );        # Administration
100
        $s->click( { href => '/admin/biblio_framework.pl', main_class => 'main container-fluid' } )
100
        $s->click( { href => '/admin/biblio_framework.pl', main_class => 'main container-fluid' } )
101
            ;    # MARC bibliographic framework
101
            ;    # MARC bibliographic framework
102
        $s->click( { href => '/admin/biblio_framework.pl?op=add_form', main_class => 'main container-fluid' } )
102
        $s->click( { href => '/admin/biblio_framework.pl?op=add_form', main_class => 'main container-fluid' } )
Lines 120-126 SKIP: { Link Here
120
120
121
    {         #Libraries
121
    {         #Libraries
122
        $driver->get($mainpage);
122
        $driver->get($mainpage);
123
        $s->click( { href => '/admin/admin-home.pl', main       => 'container-main' } );          # Koha administration
123
        $s->click( { href => '/admin/admin-home.pl', main       => 'container-main' } );          # Administration
124
        $s->click( { href => '/admin/branches.pl',   main_class => 'main container-fluid' } );    # Libraries and groups
124
        $s->click( { href => '/admin/branches.pl',   main_class => 'main container-fluid' } );    # Libraries and groups
125
        $s->click( { href => '/admin/branches.pl?op=add_form', main_class => 'main container-fluid' } );   # New library
125
        $s->click( { href => '/admin/branches.pl?op=add_form', main_class => 'main container-fluid' } );   # New library
126
        $s->fill_form( { branchcode => $branchcode, branchname => 'my library' } );
126
        $s->fill_form( { branchcode => $branchcode, branchname => 'my library' } );
Lines 148-154 SKIP: { Link Here
148
148
149
    {    #Authorized values
149
    {    #Authorized values
150
        $driver->get($mainpage);
150
        $driver->get($mainpage);
151
        $s->click( { href => '/admin/admin-home.pl', main => 'container-main' } );    #Koha administration
151
        $s->click( { href => '/admin/admin-home.pl', main => 'container-main' } );    # Administration
152
152
153
        $s->click( { href => '/admin/authorised_values.pl', main_class => 'main container-fluid' } ); #Authorized values
153
        $s->click( { href => '/admin/authorised_values.pl', main_class => 'main container-fluid' } ); #Authorized values
154
154
Lines 194-200 SKIP: { Link Here
194
194
195
    {    # Patron categories
195
    {    # Patron categories
196
        $driver->get($mainpage);
196
        $driver->get($mainpage);
197
        $s->click( { href => '/admin/admin-home.pl', main       => 'container-main' } );          # Koha administration
197
        $s->click( { href => '/admin/admin-home.pl', main       => 'container-main' } );          # Administration
198
        $s->click( { href => '/admin/categories.pl', main_class => 'main container-fluid' } );    # Patron categories
198
        $s->click( { href => '/admin/categories.pl', main_class => 'main container-fluid' } );    # Patron categories
199
        $s->click( { href => '/admin/categories.pl?op=add_form', main_class => 'main container-fluid' } )
199
        $s->click( { href => '/admin/categories.pl?op=add_form', main_class => 'main container-fluid' } )
200
            ;                                                                                     # New patron category
200
            ;                                                                                     # New patron category
201
- 

Return to bug 41494