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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt (-6 / +5 lines)
Lines 105-113 Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> Link Here
105
                <label for="branch">Library: </label>
105
                <label for="branch">Library: </label>
106
                <select id="branch" name="branch">
106
                <select id="branch" name="branch">
107
                [% IF ( new_detail.branchcode == '' ) %]
107
                [% IF ( new_detail.branchcode == '' ) %]
108
                    <option value="" selected>All Libraries</option>
108
                    <option value="" selected>All libraries</option>
109
                [% ELSE %]
109
                [% ELSE %]
110
                    <option value=""         >All Libraries</option>
110
                    <option value=""         >All libraries</option>
111
                [% END %]
111
                [% END %]
112
                [% FOREACH branch_item IN branch_list %]
112
                [% FOREACH branch_item IN branch_list %]
113
                [% IF ( branch_item.value.branchcode == new_detail.branchcode ) %]
113
                [% IF ( branch_item.value.branchcode == new_detail.branchcode ) %]
Lines 178-186 Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> Link Here
178
            <label for="branch">Library: </label>
178
            <label for="branch">Library: </label>
179
            <select id="branch" name="branch">
179
            <select id="branch" name="branch">
180
                [% IF ( branchcode == "" ) %]
180
                [% IF ( branchcode == "" ) %]
181
                <option value="" selected>All Libraries</option>
181
                <option value="" selected>All libraries</option>
182
                [% ELSE %]
182
                [% ELSE %]
183
                <option value=""         >All Libraries</option>
183
                <option value=""         >All libraries</option>
184
                [% END %]
184
                [% END %]
185
                [% FOREACH branch_item IN branch_list %]
185
                [% FOREACH branch_item IN branch_list %]
186
                [% IF ( branch_item.value.branchcode == branchcode ) %]
186
                [% IF ( branch_item.value.branchcode == branchcode ) %]
Lines 232-238 Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> Link Here
232
                                [% END %]
232
                                [% END %]
233
                             </td>
233
                             </td>
234
                            <td>[% IF ( opac_new.branchcode == "" ) -%]
234
                            <td>[% IF ( opac_new.branchcode == "" ) -%]
235
                                All Libraries
235
                                All libraries
236
                                [% ELSE %][% opac_new.branchname %]
236
                                [% ELSE %][% opac_new.branchname %]
237
                                [% END %]</td>
237
                                [% END %]</td>
238
                            <td>[% opac_new.number %]</td>
238
                            <td>[% opac_new.number %]</td>
239
- 

Return to bug 12699