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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (-1 / +1 lines)
Lines 269-275 Link Here
269
                        <li><a class="dropdown-item" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber | uri %]">Place hold</a></li>
269
                        <li><a class="dropdown-item" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber | uri %]">Place hold</a></li>
270
                        <li
270
                        <li
271
                            ><a class="dropdown-item" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber | uri %]&amp;findborrower=[% holdfor_patron.cardnumber | uri %]"
271
                            ><a class="dropdown-item" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber | uri %]&amp;findborrower=[% holdfor_patron.cardnumber | uri %]"
272
                                >Place hold for [% INCLUDE 'patron-title.inc' patron => holdfor_patron no_title => 1 %]</a
272
                                >Place hold for [% INCLUDE 'patron-title.inc' patron => holdfor_patron no_title => 1 no_html => 1 %]</a
273
                            ></li
273
                            ></li
274
                        >
274
                        >
275
                    </ul>
275
                    </ul>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc (-1 / +1 lines)
Lines 47-53 Link Here
47
        [%- SET display_patron_name = 0 -%]
47
        [%- SET display_patron_name = 0 -%]
48
    [%- END -%]
48
    [%- END -%]
49
[%- END -%]
49
[%- END -%]
50
[%- IF hide_patron_infos_if_needed AND ( display_patron_name OR display_cardnumber ) -%]
50
[%- IF !no_html AND (display_patron_name OR display_cardnumber) -%]
51
    [%- IF link_to == 'circulation_reserves' -%]
51
    [%- IF link_to == 'circulation_reserves' -%]
52
        <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[%- data.borrowernumber | uri -%]#reserves">[%- PROCESS display_patron_name -%]</a>
52
        <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[%- data.borrowernumber | uri -%]#reserves">[%- PROCESS display_patron_name -%]</a>
53
    [%- ELSIF link_to == 'circulation_recalls' -%]
53
    [%- ELSIF link_to == 'circulation_recalls' -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-3 / +3 lines)
Lines 165-173 Link Here
165
                                <ul class="dropdown-menu">
165
                                <ul class="dropdown-menu">
166
                                    <li><a href="#" class="placehold dropdown-item">Place hold</a></li>
166
                                    <li><a href="#" class="placehold dropdown-item">Place hold</a></li>
167
                                    [% IF holdfor %]
167
                                    [% IF holdfor %]
168
                                        <li><a href="#" class="placeholdfor dropdown-item">Place hold for [% INCLUDE 'patron-title.inc' patron => holdfor_patron no_title => 1 no_cardnumber => 1 %]</a></li>
168
                                        <li><a href="#" class="placeholdfor dropdown-item">Place hold for [% INCLUDE 'patron-title.inc' patron => holdfor_patron no_title => 1 no_cardnumber => 1 no_html => 1 %]</a></li>
169
                                        <li><hr class="dropdown-divider" /></li>
169
                                        <li><hr class="dropdown-divider" /></li>
170
                                        <li><a class="dropdown-item" href="#" id="forgetholdfor">Forget [% INCLUDE 'patron-title.inc' patron => holdfor_patron no_title => 1 no_cardnumber => 1 %]</a></li>
170
                                        <li><a class="dropdown-item" href="#" id="forgetholdfor">Forget [% INCLUDE 'patron-title.inc' patron => holdfor_patron no_title => 1 no_cardnumber => 1 no_html => 1 %]</a></li>
171
                                    [% END %]
171
                                    [% END %]
172
                                    [% IF holdforclub %]
172
                                    [% IF holdforclub %]
173
                                        <li><a href="#" class="placeholdforclub dropdown-item">Place hold for [% holdforclub_name | html %]</a></li>
173
                                        <li><a href="#" class="placeholdforclub dropdown-item">Place hold for [% holdforclub_name | html %]</a></li>
Lines 690-696 Link Here
690
                                                        <span class="holdforlink"
690
                                                        <span class="holdforlink"
691
                                                            >|
691
                                                            >|
692
                                                            <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]&amp;findborrower=[% holdfor_patron.cardnumber | uri %]"
692
                                                            <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]&amp;findborrower=[% holdfor_patron.cardnumber | uri %]"
693
                                                                >Place hold for [% INCLUDE 'patron-title.inc' patron => holdfor_patron no_title => 1 no_cardnumber => 1 %]</a
693
                                                                >Place hold for [% INCLUDE 'patron-title.inc' patron => holdfor_patron no_title => 1 no_cardnumber => 1 no_html => 1 %]</a
694
                                                            ></span
694
                                                            ></span
695
                                                        >
695
                                                        >
696
                                                    [% END %]
696
                                                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-2 / +2 lines)
Lines 479-485 Link Here
479
                                                        [% IF patron_category.category_type == 'I' %]
479
                                                        [% IF patron_category.category_type == 'I' %]
480
                                                            <li class="guarantor-details" data-borrowernumber="[% r.guarantor_id | $raw %]">
480
                                                            <li class="guarantor-details" data-borrowernumber="[% r.guarantor_id | $raw %]">
481
                                                                <span class="label">Organization:</span>
481
                                                                <span class="label">Organization:</span>
482
                                                                [% INCLUDE 'patron-title.inc' patron=r.guarantor hide_patron_infos_if_needed=1 %]
482
                                                                [% INCLUDE 'patron-title.inc' patron=r.guarantor %]
483
                                                            </li>
483
                                                            </li>
484
                                                            <li>
484
                                                            <li>
485
                                                                <span class="label">Relationship:</span>
485
                                                                <span class="label">Relationship:</span>
Lines 488-494 Link Here
488
                                                        [% ELSE %]
488
                                                        [% ELSE %]
489
                                                            <li class="guarantor-details" data-borrowernumber="[% r.guarantor_id | $raw %]">
489
                                                            <li class="guarantor-details" data-borrowernumber="[% r.guarantor_id | $raw %]">
490
                                                                <span class="label">Guarantor:</span>
490
                                                                <span class="label">Guarantor:</span>
491
                                                                [% INCLUDE 'patron-title.inc' patron=r.guarantor hide_patron_infos_if_needed=1 %]
491
                                                                [% INCLUDE 'patron-title.inc' patron=r.guarantor %]
492
                                                                <input type="hidden" class="guarantor_id relation-[% r.id | html %]" name="guarantor_id" value="[% r.guarantor_id | html %]" />
492
                                                                <input type="hidden" class="guarantor_id relation-[% r.id | html %]" name="guarantor_id" value="[% r.guarantor_id | html %]" />
493
                                                            </li>
493
                                                            </li>
494
                                                            <li>
494
                                                            <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-2 / +1 lines)
Lines 366-372 Link Here
366
                                                    <span class="holdforlink"
366
                                                    <span class="holdforlink"
367
                                                        >|
367
                                                        >|
368
                                                        <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% itemsloo.biblionumber | uri %]&amp;findborrower=[% holdfor_patron.cardnumber | uri %]"
368
                                                        <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% itemsloo.biblionumber | uri %]&amp;findborrower=[% holdfor_patron.cardnumber | uri %]"
369
                                                            >Place hold for [% INCLUDE 'patron-title.inc' patron => holdfor_patron no_title => 1 %]</a
369
                                                            >Place hold for [% INCLUDE 'patron-title.inc' patron => holdfor_patron no_title => 1 no_html => 1 %]</a
370
                                                        ></span
370
                                                        ></span
371
                                                    >
371
                                                    >
372
                                                [% END %]
372
                                                [% END %]
373
- 

Return to bug 29768