Bugzilla – Attachment 68116 Details for
Bug 19394
Add ability for IT administrators to skip onboarding tool, and then display the tool to superlibrarians when they first log in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19394 - Ability to skip the onboarding tool implemented
Bug-19394---Ability-to-skip-the-onboarding-tool-im.patch (text/plain), 2.40 KB, created by
Alex Buckley
on 2017-10-14 01:42:54 UTC
(
hide
)
Description:
Bug 19394 - Ability to skip the onboarding tool implemented
Filename:
MIME Type:
Creator:
Alex Buckley
Created:
2017-10-14 01:42:54 UTC
Size:
2.40 KB
patch
obsolete
>From 5411b683a239900d8d70bd42f6c2485226c6986d Mon Sep 17 00:00:00 2001 >From: Alex Buckley <alexbuckley@catalyst.net.nz> >Date: Mon, 2 Oct 2017 17:51:16 +1300 >Subject: [PATCH] Bug 19394 - Ability to skip the onboarding tool implemented > >--- > installer/onboarding.pl | 6 +++++- > koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt | 8 ++++++-- > 2 files changed, 11 insertions(+), 3 deletions(-) > >diff --git a/installer/onboarding.pl b/installer/onboarding.pl >index 8b032c9..e10eff2 100755 >--- a/installer/onboarding.pl >+++ b/installer/onboarding.pl >@@ -37,7 +37,7 @@ use Koha::IssuingRules; > my $input = new CGI; > > unless ( C4::Context->preference('Version') ) { >- print $input->redirect("/cgi-bin/koha/installer/install.pl"); >+ print $input->redirect("mainpage.pl"); > exit; > } > >@@ -57,6 +57,10 @@ my $schema = Koha::Database->new()->schema(); > > my @messages; > >+if ( $op && $op eq 'skip' ) { >+ print $input->redirect("/cgi-bin/koha/mainpage.pl"); >+ exit; >+} > if ( $step == 1 ) { > > if ( $op eq 'add_validate_library' ) { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt >index 42f1295..246afa2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt >@@ -33,8 +33,8 @@ > </title> > > [% IF ( finish ) %] >- [%- metacontent= '10; url=/cgi-bin/koha/installer/onboarding.pl' -%] >- <meta http-equiv="refresh" content="[% metacontent %]"> >+ <!-- [%- metacontent= '10; url=/cgi-bin/koha/installer/onboarding.pl' -%] >+ <meta http-equiv="refresh" content="[% metacontent %]">--> > [% END %] > [% INCLUDE 'installer-doc-head-close.inc' %] > </head> >@@ -47,6 +47,10 @@ > [% IF ( finish ) %] > <h2>Web installer › Installation complete</h2> > <h3>Congratulations, installation complete</h3> >+ <form name="navigationform" method="post" action="onboarding.pl"> >+ <input type="hidden" name="op" value="skip"/> >+ <button type="submit" value="submit">Skip onboarding process.</button> >+ </form> > <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> > [% END %] > >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19394
:
67498
|
67542
|
68116
|
68117
|
68188
|
68189
|
68190
|
68191