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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt (-23 / +22 lines)
Lines 71-79 Link Here
71
                    <!-- TODO <a href="#" class="btn btn-default" id="preview_template_button" role="button" data-toggle="modal">Convert using the Template Toolkit syntax</a>-->
71
                    <!-- TODO <a href="#" class="btn btn-default" id="preview_template_button" role="button" data-toggle="modal">Convert using the Template Toolkit syntax</a>-->
72
                    <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
72
                    <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
73
                </div>
73
                </div>
74
            </div>
74
            </div> <!-- /.modal-content -->
75
        </div>
75
        </div> <!-- /.modal-dialog -->
76
    </div>
76
    </div> <!-- /#preview_template -->
77
77
78
    [% IF add_form or copy_form %]
78
    [% IF add_form or copy_form %]
79
        <div class="main container-fluid">
79
        <div class="main container-fluid">
Lines 99-105 Link Here
99
                                </select>
99
                                </select>
100
                            </p>
100
                            </p>
101
                        [% END %]
101
                        [% END %]
102
                    </form>
102
                    </form> <!-- /#selectlibrary -->
103
103
104
                    <div id="toolbar" class="btn-toolbar">
104
                    <div id="toolbar" class="btn-toolbar">
105
                        <div class="btn-group">
105
                        <div class="btn-group">
Lines 118-124 Link Here
118
118
119
                            </ul>
119
                            </ul>
120
                        </div>
120
                        </div>
121
                    </div>
121
                    </div> <!-- /#toolbar -->
122
122
123
                    [% IF ( search ) %]
123
                    [% IF ( search ) %]
124
                        <p>You searched for <b>[% searchfield | html %]</b></p>
124
                        <p>You searched for <b>[% searchfield | html %]</b></p>
Lines 188-194 Link Here
188
                                                    [% END %]
188
                                                    [% END %]
189
                                                    <button class="btn btn-default btn-xs"><i class="fa fa-clone"></i> Copy</button>
189
                                                    <button class="btn btn-default btn-xs"><i class="fa fa-clone"></i> Copy</button>
190
                                                </form>
190
                                                </form>
191
                                            [% END %]
191
                                            [% END # /IF !independent_branch %]
192
                                        </td>
192
                                        </td>
193
                                        <td class="actions">
193
                                        <td class="actions">
194
                                            [% IF can_edit %]
194
                                            [% IF can_edit %]
Lines 199-208 Link Here
199
                                            [% END %]
199
                                            [% END %]
200
                                        </td>
200
                                        </td>
201
                                    </tr>
201
                                    </tr>
202
                                [% END %]
202
                                [% END # /FOREACH lette %]
203
                            </tbody>
203
                            </tbody>
204
                        </table>
204
                        </table> <!-- /#lettert -->
205
                    [% ELSE %]
205
                    [% ELSE # IF lette %]
206
                        <div class="dialog message">
206
                        <div class="dialog message">
207
                            [% IF ( branchcode ) %]
207
                            [% IF ( branchcode ) %]
208
                                <p>There are no notices for this library.</p>
208
                                <p>There are no notices for this library.</p>
Lines 210-217 Link Here
210
                                <p>There are no notices.</p>
210
                                <p>There are no notices.</p>
211
                            [% END %]
211
                            [% END %]
212
                        </div>
212
                        </div>
213
                    [% END %]
213
                    [% END # /IF lette %]
214
                [% END %]
214
                [% END # /IF no_op_set %]
215
215
216
                [% IF add_form or copy_form %]
216
                [% IF add_form or copy_form %]
217
                    <h1>[% IF ( modify ) %]Modify notice[% ELSE %]Add notice[% END %]</h1>
217
                    <h1>[% IF ( modify ) %]Modify notice[% ELSE %]Add notice[% END %]</h1>
Lines 227-233 Link Here
227
                            </ul>
227
                            </ul>
228
                        </div>
228
                        </div>
229
                        <a class="btn btn-default cancel" href="/cgi-bin/koha/tools/letter.pl"><i class="fa fa-remove"></i> Cancel</a>
229
                        <a class="btn btn-default cancel" href="/cgi-bin/koha/tools/letter.pl"><i class="fa fa-remove"></i> Cancel</a>
230
                    </div>
230
                    </div> <!-- /#toolbar -->
231
231
232
                    <form id="add_notice" name="Aform" method="post" enctype="multipart/form-data" class="validate">
232
                    <form id="add_notice" name="Aform" method="post" enctype="multipart/form-data" class="validate">
233
                        [% IF add_form %]
233
                        [% IF add_form %]
Lines 268-274 Link Here
268
                                            [% END %]
268
                                            [% END %]
269
                                        [% END %]
269
                                        [% END %]
270
                                    </li>
270
                                    </li>
271
                            [% END %]
271
                            [% END # /IF independant_branch %]
272
                                <li>
272
                                <li>
273
                                    <label for="module">Koha module:</label>
273
                                    <label for="module">Koha module:</label>
274
                                    <input type="hidden" name="oldmodule" value="[% module | html %]" />
274
                                    <input type="hidden" name="oldmodule" value="[% module | html %]" />
Lines 359-367 Link Here
359
                                            Not supported yet.
359
                                            Not supported yet.
360
                                    [% END %]
360
                                    [% END %]
361
                                    </li>
361
                                    </li>
362
                            [% END %]
362
                            [% END # /IF code %]
363
                        </ol>
363
                        </ol>
364
                    </fieldset>
364
                    </fieldset> <!-- /#add_notice -->
365
365
366
                    [% IF Koha.Preference('TranslateNotices') %]
366
                    [% IF Koha.Preference('TranslateNotices') %]
367
                        <div style="clear:both"></div>
367
                        <div style="clear:both"></div>
Lines 378-384 Link Here
378
                                    [% END %]
378
                                    [% END %]
379
                                [% END %]
379
                                [% END %]
380
                            </ul>
380
                            </ul>
381
                    [% END %]
381
                    [% END # /IF TranslateNotices %]
382
382
383
                    [% FOREACH lang IN letters.keys %]
383
                    [% FOREACH lang IN letters.keys %]
384
                        <div id="lang_[% lang | html %]">
384
                        <div id="lang_[% lang | html %]">
Lines 453-463 Link Here
453
                                                </li>
453
                                                </li>
454
                                            [% END %]
454
                                            [% END %]
455
                                        </ol>
455
                                        </ol>
456
                                    </fieldset>
456
                                    </fieldset> <!-- /.rows.mtt -->
457
                                [% END %]
457
                                [% END # /FOR mtt %]
458
                            </div>
458
                            </div>
459
                        </div> <!-- / #transport-types -->
459
                        </div> <!-- / #transport-types -->
460
                    [% END %]
460
                    [% END # /FOREACH lang %]
461
461
462
                    [% IF Koha.Preference('TranslateNotices') %]
462
                    [% IF Koha.Preference('TranslateNotices') %]
463
                        </div>
463
                        </div>
Lines 466-473 Link Here
466
                        <input type="hidden" id="redirect" name="redirect" value="" />
466
                        <input type="hidden" id="redirect" name="redirect" value="" />
467
                        <input type="hidden" id="section" name="section" value="[% section | html %]" />
467
                        <input type="hidden" id="section" name="section" value="[% section | html %]" />
468
                        <input type="hidden" name="searchfield" value="[% searchfield | html %]" />
468
                        <input type="hidden" name="searchfield" value="[% searchfield | html %]" />
469
                    </form>
469
                    </form> <!-- /#add_notice -->
470
                [% END %]
470
                [% END # /IF add_form %]
471
471
472
                [% IF ( add_validate or copy_validate) %]
472
                [% IF ( add_validate or copy_validate) %]
473
                    Data recorded
473
                    Data recorded
Lines 507-513 Link Here
507
                            <button type="submit" class="deny"><i class="fa fa-times"></i> No, do not delete</button>
507
                            <button type="submit" class="deny"><i class="fa fa-times"></i> No, do not delete</button>
508
                        </form>
508
                        </form>
509
                    </div>
509
                    </div>
510
                [% END %]
510
                [% END # /IF delete_confirm %]
511
511
512
                [% IF ( delete_confirmed ) %]
512
                [% IF ( delete_confirmed ) %]
513
                    Data deleted
513
                    Data deleted
514
- 

Return to bug 23512