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

(-)a/installer/onboarding.pl (-1 / +5 lines)
Lines 37-43 use Koha::IssuingRules; Link Here
37
my $input = new CGI;
37
my $input = new CGI;
38
38
39
unless ( C4::Context->preference('Version') ) {
39
unless ( C4::Context->preference('Version') ) {
40
    print $input->redirect("/cgi-bin/koha/installer/install.pl");
40
    print $input->redirect("mainpage.pl");
41
    exit;
41
    exit;
42
}
42
}
43
43
Lines 57-62 my $schema = Koha::Database->new()->schema(); Link Here
57
57
58
my @messages;
58
my @messages;
59
59
60
if ( $op && $op eq 'skip' ) {
61
     print $input->redirect("/cgi-bin/koha/mainpage.pl");
62
     exit;
63
}
60
if ( $step == 1 ) {
64
if ( $step == 1 ) {
61
65
62
    if ( $op eq 'add_validate_library' ) {
66
    if ( $op eq 'add_validate_library' ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt (-3 / +6 lines)
Lines 33-40 Link Here
33
</title>
33
</title>
34
34
35
[% IF ( finish ) %]
35
[% IF ( finish ) %]
36
    [%- metacontent= '10; url=/cgi-bin/koha/installer/onboarding.pl' -%]
36
 <!--   [%- metacontent= '10; url=/cgi-bin/koha/installer/onboarding.pl' -%]
37
    <meta http-equiv="refresh" content="[% metacontent %]">
37
    <meta http-equiv="refresh" content="[% metacontent %]">-->
38
[% END %]
38
[% END %]
39
[% INCLUDE 'installer-doc-head-close.inc' %]
39
[% INCLUDE 'installer-doc-head-close.inc' %]
40
</head>
40
</head>
Lines 47-52 Link Here
47
                [% IF ( finish ) %]
47
                [% IF ( finish ) %]
48
                    <h2>Web installer &rsaquo; Installation complete</h2>
48
                    <h2>Web installer &rsaquo; Installation complete</h2>
49
                    <h3>Congratulations, installation complete</h3>
49
                    <h3>Congratulations, installation complete</h3>
50
                    <form name="navigationform" method="post" action="onboarding.pl">
51
                        <input type="hidden" name="op" value="skip"/>
52
                        <button type="submit" value="submit">Skip onboarding process.</button>
53
                    </form>
50
                    <p>This page will redirect in 10 seconds. <a href="/cgi-bin/koha/installer/onboarding.pl">If not, click here to start onboarding process.</a></p>
54
                    <p>This page will redirect in 10 seconds. <a href="/cgi-bin/koha/installer/onboarding.pl">If not, click here to start onboarding process.</a></p>
51
                [% END %]
55
                [% END %]
52
56
53
- 

Return to bug 19394