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

(-)a/cataloguing/cataloging-home.pl (+1 lines)
Lines 43-48 my $servers = Koha::Z3950Servers->search( Link Here
43
);
43
);
44
44
45
my $frameworks = Koha::BiblioFrameworks->search({}, { order_by => ['frameworktext'] });
45
my $frameworks = Koha::BiblioFrameworks->search({}, { order_by => ['frameworktext'] });
46
$template->param( fast_cataloging => 1 ) if $frameworks->find({ frameworkcode => 'FA' });
46
47
47
$template->param(
48
$template->param(
48
    servers           => $servers,
49
    servers           => $servers,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt (-1 / +7 lines)
Lines 158-164 Link Here
158
158
159
                    <div class="col-sm-4 col-md-4">
159
                    <div class="col-sm-4 col-md-4">
160
160
161
                        [% IF ( CAN_user_tools_label_creator || CAN_user_tools_upload_local_cover_images ) %]
161
                        [% IF ( CAN_user_tools_label_creator || CAN_user_tools_upload_local_cover_images || ( fast_cataloging && CAN_user_editcatalogue_fast_cataloging  ) ) %]
162
                        <h3>Tools</h3>
162
                        <h3>Tools</h3>
163
                        <ul class="buttons-list">
163
                        <ul class="buttons-list">
164
                            [% IF ( CAN_user_tools_label_creator ) %]
164
                            [% IF ( CAN_user_tools_label_creator ) %]
Lines 181-186 Link Here
181
                            </li>
181
                            </li>
182
                            [% END %]
182
                            [% END %]
183
183
184
                            [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
185
                            <li>
186
                                <a class="circ-button" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA"><i class="fa fa-plus"></i> Fast cataloging</a>
187
                            </li>
188
                            [% END %]
189
184
                        </ul>
190
                        </ul>
185
                        [% END %]
191
                        [% END %]
186
192
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (-1 / +1 lines)
Lines 124-130 Link Here
124
                            </li>
124
                            </li>
125
                            [% END %]
125
                            [% END %]
126
126
127
                            [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
127
                            [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items || ( fast_cataloging && CAN_user_editcatalogue_fast_cataloging ) ) %]
128
                            <li>
128
                            <li>
129
                                <a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/cataloging-home.pl"><i class="fa fa-fw fa-tag"></i>Cataloging</a>
129
                                <a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/cataloging-home.pl"><i class="fa fa-fw fa-tag"></i>Cataloging</a>
130
                            </li>
130
                            </li>
(-)a/mainpage.pl (-1 / +4 lines)
Lines 30-35 use Koha::Patron::Modifications; Link Here
30
use Koha::Patron::Discharge;
30
use Koha::Patron::Discharge;
31
use Koha::Reviews;
31
use Koha::Reviews;
32
use Koha::ArticleRequests;
32
use Koha::ArticleRequests;
33
use Koha::BiblioFrameworks;
33
use Koha::ProblemReports;
34
use Koha::ProblemReports;
34
use Koha::Quotes;
35
use Koha::Quotes;
35
use Koha::Suggestions;
36
use Koha::Suggestions;
Lines 49-54 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
49
50
50
my $logged_in_user = Koha::Patrons->find($loggedinuser);
51
my $logged_in_user = Koha::Patrons->find($loggedinuser);
51
52
53
# Checking if there is a Fast Cataloging Framework
54
$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find( 'FA' );
55
52
my $homebranch;
56
my $homebranch;
53
if (C4::Context->userenv) {
57
if (C4::Context->userenv) {
54
    $homebranch = C4::Context->userenv->{'branch'};
58
    $homebranch = C4::Context->userenv->{'branch'};
55
- 

Return to bug 33133