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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt (-2 / +64 lines)
Lines 25-31 Link Here
25
25
26
<body id="admin_cities" class="admin">
26
<body id="admin_cities" class="admin">
27
[% WRAPPER 'header.inc' %]
27
[% WRAPPER 'header.inc' %]
28
    [% INCLUDE 'cities-admin-search.inc' %]
28
[% header_search_tabs = [
29
    {
30
        id          => 'city_search',
31
        is_active   => 1,
32
        is_allowed  => 1,
33
        label       => 'Search cities',    #TODO:translate
34
        icon        => 'fa-building',
35
        form_action => undef,
36
        form_id     => undef,
37
        form_method => 'POST',
38
        inputs      => [
39
            {
40
                id          => 'city_name_filter',
41
                name        => 'city_name_filter',
42
                type        => 'text',
43
                value       => city_name_filter,
44
                placeholder => 'City search',
45
                class       => 'head-searchbox form-control',
46
            }
47
        ]
48
    },
49
    {
50
        id          => 'circ_search',
51
        is_active   => 0,
52
        is_allowed  => CAN_user_circulate_circulate_remaining_permissions,
53
        label       => 'Check out',                           #TODO:translate
54
        icon        => 'fa-upload',
55
        form_action => '/cgi-bin/koha/circ/circulation.pl',
56
        form_id     => 'patronsearch',
57
        form_method => 'POST',
58
        inputs      => [
59
            {
60
                id          => 'findborrower',
61
                name        => 'findborrower',
62
                type        => 'text',
63
                value       => undef,
64
                placeholder => 'Enter patron card number or partial name',
65
                class       => 'head-searchbox form-control',
66
            },
67
        ]
68
    },
69
    {
70
        id          => 'catalog_search',
71
        is_active   => 0,
72
        is_allowed  => CAN_user_catalogue,
73
        label       => 'Search catalog',                      #TODO:translate
74
        icon        => 'fa-search',
75
        form_action => '/cgi-bin/koha/catalogue/search.pl',
76
        form_id     => 'cat-search-block',
77
        form_method => 'GET',
78
        inputs      => [
79
            {
80
                id          => 'search-form',
81
                name        => 'q',
82
                type        => 'text',
83
                value       => undef,
84
                placeholder => 'Enter search keywords',
85
                class       => 'head-searchbox form-control',
86
            }
87
        ]
88
    }
89
];
90
%]
91
[% INCLUDE 'common/header-search-tabs.inc' header_search_tabs => header_search_tabs %]
29
[% END %]
92
[% END %]
30
93
31
[% WRAPPER 'sub-header.inc' %]
94
[% WRAPPER 'sub-header.inc' %]
32
- 

Return to bug 34707