From b49b7cc0da0b6fcc45a745dbd2142d1c77c19a10 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Wed, 8 Feb 2017 15:53:41 +1300 Subject: [PATCH] Bug 18059 - Added explanations for why the user is doing the actions of each of the 5 steps of the onboarding tool in bug 17855. So now the user will know why they are doing each step of the onboarding tool, to make the process more transparent. Test plan: 1. Drop and recreate your database: sudo koha-mysql then DROP database ; then CREATE database ; 2. Restart memcached: sudo service memcached restart 1. Apply bug 17855 3. Go through the web installer and onboarding tool, noticing that the onboarding tool has no "Reason for creating a now" message just below the header 4. Apply this bug 5. Redo steps 1, 2, and 3 noticing that this time under the header for each of the onboarding form screen (not the creation outcome screen displayed after the user submitted each onboarding form) there is "reason for creating a now" text --- koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep4.tt | 3 ++- koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt | 1 + 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt index b295fc9..ee71791 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt @@ -60,6 +60,7 @@

Create a library

+

Reason for creating a library now: Creating a library is one of the prerequisites for creating the Koha administrator patron account to log into Koha with, which you will do soon.

    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt index f0e90aa..2db9813 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt @@ -70,7 +70,7 @@ jQuery.validator.addMethod( "enrollment_period", function(){

    Create a new patron category

    -

    The patron category you create in this form is going to be the one which the new administrator patron account will have.

    +

    Reason for creating a patron category now: The creation of a patron category is a prerequisite for creating a Koha administrator account to log into Koha with (which you'll do next).

    The patron category you create in this form is going to be the one which the administrator account will have.

    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt index de2e595..3fbcf71 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt @@ -105,9 +105,9 @@ $(document).ready(function(){ [% ELSE %] -

    Create koha administrator patron

    +

    Create Koha administrator patron

    - Now we will create a patron with superlibrarian permissions. Login with this to access Koha as a staff member will all permissions. + Reason for creating a Koha administrator patron now: You will need a Koha administrator patron account with superlibrarian privilages to log into Koha with (once you've finished this onboarding tool), and to be able to perform all library tasks in Koha immediately.

    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep4.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep4.tt index 6176fb4..beea750 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep4.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep4.tt @@ -42,7 +42,8 @@ [% ELSE %]

    Create a new Item type

    -

    Item types are used to group related items. Examples of item types are books, cds, and DVDs.

    When adding to your institutions catalogue you will create an item of a particular item type.

    Importantly item types are what you apply circulation rules to. Circulation rules govern how your institution will lend its items, for example a circulation rule applied to the DVD item type may enforce a payment of $1.00 for borrowing any DVD.

    +

    What is an item type Item types are used to group related items. Examples of item types are books, cds, and DVDs.

    When adding to your institutions catalogue you will create an item of a particular item type.

    Importantly item types are what you apply circulation rules to. Circulation rules govern how your institution will lend its items, for example a circulation rule applied to the DVD item type may enforce a payment of $1.00 for borrowing any DVD.

    +

    Reason for creating an item type now: The creation of an item type is a prerequisite for creating a circulation rule (the next step in this onboarding process)

    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt index 81ba89c..6404faa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt @@ -30,6 +30,7 @@ [% ELSE %]

    Create a new circulation rule

    +

    Reason for creating a circulation rule now: Creating a circulation rule now will allow you to start defining organisational rules in your Koha instance. e.g. how long item checkout period is.

    -- 2.1.4