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

(-)a/installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl (-2 / +2 lines)
Lines 2-14 use Modern::Perl; Link Here
2
2
3
return {
3
return {
4
    bug_number => "30200",
4
    bug_number => "30200",
5
    description => "Add customizable tabs to interlibrary loan requests list",
5
    description => "Add ILLRequestsTabs system preference",
6
    up => sub {
6
    up => sub {
7
        my ($args) = @_;
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
        # Do you stuffs here
9
        # Do you stuffs here
10
        $dbh->do(q{
10
        $dbh->do(q{
11
            INSERT INTO `systempreferences`
11
            INSERT IGNORE INTO `systempreferences`
12
                (variable,value,options,explanation,type)
12
                (variable,value,options,explanation,type)
13
            VALUES
13
            VALUES
14
                ('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea');
14
                ('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea');
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-3 / +2 lines)
Lines 1003-1014 Circulation: Link Here
1003
              class: multi
1003
              class: multi
1004
            - (separated with |). If left empty, all installed backends will be enabled.
1004
            - (separated with |). If left empty, all installed backends will be enabled.
1005
        -
1005
        -
1006
            - "Add customizable tabs to interlibrary loan requests list:"
1006
            - "Add customizable tabs to the interlibrary loan requests list:"
1007
            - pref: ILLRequestsTabs
1007
            - pref: ILLRequestsTabs
1008
              syntax: text/x-yaml
1008
              syntax: text/x-yaml
1009
              class: code
1009
              class: code
1010
              type: textarea
1010
              type: textarea
1011
            - "This is a list that defines tab names and statuses that will be sorted under that tab.<br/><br/>"
1011
            - "This allows to define tabs with their description and linked ILL request statuses that will appear under the tab.<br/><br/>"
1012
            - "Examples:<br/>"
1012
            - "Examples:<br/>"
1013
            - "<pre>- name: Closed</pre>"
1013
            - "<pre>- name: Closed</pre>"
1014
            - "<pre>  status:</pre>"
1014
            - "<pre>  status:</pre>"
1015
- 

Return to bug 30200