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

(-)a/admin/branches.pl (-1 lines)
Lines 78-84 if ( $op eq 'add_form' ) { Link Here
78
      issuing
78
      issuing
79
      branchip
79
      branchip
80
      branchnotes
80
      branchnotes
81
      opac_info
82
      marcorgcode
81
      marcorgcode
83
      pickup_location
82
      pickup_location
84
      public
83
      public
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-5 / +15 lines)
Lines 4-9 Link Here
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% USE TablesSettings %]
5
[% USE TablesSettings %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% IF library %][% SET OpacLibraryInfo = library.opac_info( lang => lang ) %][% END %]
8
7
<title>
9
<title>
8
[% IF op == 'add_form' %]
10
[% IF op == 'add_form' %]
9
    [% IF library %]
11
    [% IF library %]
Lines 248-254 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
248
                    </select>
250
                    </select>
249
                </li>
251
                </li>
250
                <li><label for="branchurl">URL: </label><input type="text" name="branchurl" id="branchurl"  size="80" value="[% library.branchurl | html %]" class="url" /></li>
252
                <li><label for="branchurl">URL: </label><input type="text" name="branchurl" id="branchurl"  size="80" value="[% library.branchurl | html %]" class="url" /></li>
251
                <li><label for="opac_info">OPAC info: </label><textarea name="opac_info" id="opac_info">[% library.opac_info | $raw %]</textarea></li>
253
                <li><label for="opac_info">OPAC info: </label>
254
                    [% IF OpacLibraryInfo %]<!-- opac_info -->
255
                        <div>[% OpacLibraryInfo.content | $raw %]</div>
256
                        <div class="hint"><a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations&op=add_form&id=[% OpacLibraryInfo.id | $raw %]&editmode=wysiwyg" target="_blank">Edit html content</a></div>
257
                    [% ELSE %]
258
                        <a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations&op=add_form&editmode=wysiwyg" target="_blank">Add html content</a>
259
                    [% END %]
260
                </li>
252
                <li>
261
                <li>
253
                    <label for="branchip">IP: </label>
262
                    <label for="branchip">IP: </label>
254
                    <input type="text" name="branchip" id="branchip"  size="15" maxlength="15" value="[% library.branchip | html %]" />
263
                    <input type="text" name="branchip" id="branchip"  size="15" maxlength="15" value="[% library.branchip | html %]" />
Lines 461-472 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
461
            </div> <!-- /.rows -->
470
            </div> <!-- /.rows -->
462
        </div> <!-- /.col-sm-6 -->
471
        </div> <!-- /.col-sm-6 -->
463
    </div> <!-- /.row -->
472
    </div> <!-- /.row -->
464
    [% IF ( library.opac_info ) %]
473
    [% IF OpacLibraryInfo %]<!-- opac_info -->
465
        <hr />
474
        <hr />
466
        <div class="row">
475
        <div class="row">
467
            <div class="col-sm-12">
476
            <div class="col-sm-12">
468
                <h2>OPAC information</h2>
477
                <h2>OPAC information</h2>
469
                [% library.opac_info | $raw %]
478
                <div>[% OpacLibraryInfo.content | $raw %]</div>
470
            </div>
479
            </div>
471
        </div>
480
        </div>
472
    [% END %]
481
    [% END %]
Lines 659-665 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
659
                        "orderable": false
668
                        "orderable": false
660
                    },
669
                    },
661
                    {
670
                    {
662
                        "data": "opac_info",
671
                        "data": function( row, type, val, meta ) {
672
                            return ''; // provisional placeholder for opac_info
673
                        },
663
                        "searchable": true,
674
                        "searchable": true,
664
                        "visible": false,
675
                        "visible": false,
665
                        "orderable": false
676
                        "orderable": false
666
- 

Return to bug 29144