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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt (-7 / +6 lines)
Lines 2-13 Link Here
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Web installer &rsaquo; Add a patron category</title>
4
<title>Koha &rsaquo; Web installer &rsaquo; Add a patron category</title>
5
[% IF (categories && categories.count > 1 )
5
[%# The following if statement checks if the categories variable handed to this template %]
6
    # This if statement checks if the categories variable handed to this template
6
[%# by onboarding.pl has data in it. If the categories variable does have data %]
7
    # by onboarding.pl has data in it. If the categories variable does have data
7
[%# in it this means that the user has previously imported sample patron category %]
8
    # in it this means that the user has previously imported sample patron category
8
[%# data and so we do not need to show them the create patron category screen 1, %]
9
    # data and so we do not need to show them the create patron category screen 1,
9
[%#instead we can display a screen with ubtton redirecting the user to step 3 %]
10
    #instead we can display a screen with ubtton redirecting the user to step 3 %]
10
[% IF (categories && categories.count > 1 ) %]
11
    <meta http-equiv="refresh" content="0; url=/cgi-bin/koha/installer/onboarding.pl?step=3">
11
    <meta http-equiv="refresh" content="0; url=/cgi-bin/koha/installer/onboarding.pl?step=3">
12
[% END %]
12
[% END %]
13
[% INCLUDE 'installer-doc-head-close.inc' %]
13
[% INCLUDE 'installer-doc-head-close.inc' %]
14
- 

Return to bug 18702