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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/notices.tt (-13 / +12 lines)
Lines 96-102 Link Here
96
                        <input type="submit" class="btn btn-primary" value="Print selected notices" id="print_multiple_button" />
96
                        <input type="submit" class="btn btn-primary" value="Print selected notices" id="print_multiple_button" />
97
                    </form>
97
                    </form>
98
                [% ELSE %]
98
                [% ELSE %]
99
                    <div> Use the search form on the left to find sent notices. </div>
99
                    Use the search form on the left to find sent notices, or go directly to a patron's notices.
100
                    <div id="notices_patronsearch" class="toptabs">
101
                        <ul class="nav nav-tabs" role="tablist">
102
                            <li role="presentation" class="active"><a href="#notices_patronsearch_pane" aria-controls="notices_patronsearch_pane" role="tab" data-toggle="tab">Patrons</a></li>
103
                        </ul>
104
                        <div class="tab-content">
105
                            <div id="notice_patronsearch_pane" role="tabpanel" class="tab-pane active">
106
                                [% PROCESS patron_search_filters_simple %]
107
                                [% PROCESS patron_search_table table_id => 'table_borrowers', open_on_row_click => 1 %]
108
                            </div>
109
                        </div>
110
                    </div>
100
111
101
                    [% IF notices && notices.count == 0 %]
112
                    [% IF notices && notices.count == 0 %]
102
                        <div class="dialog message"> No sent notices were found with those search parameters. </div>
113
                        <div class="dialog message"> No sent notices were found with those search parameters. </div>
Lines 108-124 Link Here
108
119
109
        <div class="col-sm-2 col-sm-pull-10">
120
        <div class="col-sm-2 col-sm-pull-10">
110
            <aside>
121
            <aside>
111
                <fieldset class="sidebar brief">
112
                    <h3>Go to a patron's notices</h3>
113
                    <ol>
114
                        <li>
115
                            <div id="notices_patronsearch_pane" role="tabpanel" class="tab-pane active">
116
                                [% PROCESS patron_search_filters_simple %]
117
                                [% PROCESS patron_search_table table_id => 'table_borrowers', open_on_row_click => 1 %]
118
                            </div>
119
                        </li>
120
                    </ol>
121
                </fieldset>
122
                <fieldset class="sidebar brief">
122
                <fieldset class="sidebar brief">
123
                    <form id="notices-search" action="/cgi-bin/koha/tools/notices.pl" method="post">
123
                    <form id="notices-search" action="/cgi-bin/koha/tools/notices.pl" method="post">
124
                        <input type="hidden" name="op" value="search" />
124
                        <input type="hidden" name="op" value="search" />
125
- 

Return to bug 33260