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 996-1007 Circulation: Link Here
996
              class: multi
996
              class: multi
997
            - (separated with |). If left empty, all installed backends will be enabled.
997
            - (separated with |). If left empty, all installed backends will be enabled.
998
        -
998
        -
999
            - "Add customizable tabs to interlibrary loan requests list:"
999
            - "Add customizable tabs to the interlibrary loan requests list:"
1000
            - pref: ILLRequestsTabs
1000
            - pref: ILLRequestsTabs
1001
              syntax: text/x-yaml
1001
              syntax: text/x-yaml
1002
              class: code
1002
              class: code
1003
              type: textarea
1003
              type: textarea
1004
            - "This is a list that defines tab names and statuses that will be sorted under that tab.<br/><br/>"
1004
            - "This allows to define tabs with their description and linked ILL request statuses that will appear under the tab.<br/><br/>"
1005
            - "Examples:<br/>"
1005
            - "Examples:<br/>"
1006
            - "<pre>- name: Closed</pre>"
1006
            - "<pre>- name: Closed</pre>"
1007
            - "<pre>  status:</pre>"
1007
            - "<pre>  status:</pre>"
1008
- 

Return to bug 30200