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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (-3 / +2 lines)
Lines 130-141 Link Here
130
130
131
            [% IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
131
            [% IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
132
                [% IF ( count ) %]
132
                [% IF ( count ) %]
133
                    <li data-bs-toggle="tooltip" data-bs-placement="left" title="[%- I18N.tnx("There is an item attached to this record", "There are {count} items attached to this record", count, { count => count }) -%]. You must delete all items before deleting this record">
133
                    <li data-bs-toggle="tooltip" data-bs-placement="left" title="[%- I18N.tnx('There is an item attached to this record. You must delete all items before deleting this record', 'There are {count} items attached to this record. You must delete all items before deleting this record', count, { count => count }) -%]">
134
                        <a class="dropdown-item disabled" aria-disabled="true" id="deletebiblio" href="#">Delete record</a>
134
                        <a class="dropdown-item disabled" aria-disabled="true" id="deletebiblio" href="#">Delete record</a>
135
                    </li>
135
                    </li>
136
                [% ELSIF ( biblio.subscriptions.count ) %]
136
                [% ELSIF ( biblio.subscriptions.count ) %]
137
                    [%- SET subscriptions_count = biblio.subscriptions.count -%]
137
                    [%- SET subscriptions_count = biblio.subscriptions.count -%]
138
                    <li data-bs-toggle="tooltip" data-bs-placement="left" title="[%- I18N.tnx("There is a subscription attached to this record", "There are {count} subscriptions attached to this record", subscriptions_count, { count => subscriptions_count }) -%]. You must delete all subscriptions before deleting this record">
138
                    <li data-bs-toggle="tooltip" data-bs-placement="left" title="[%- I18N.tnx('There is a subscription attached to this record. You must delete all subscriptions before deleting this record', 'There are {subscriptions_count} subscriptions attached to this record. You must delete all subscriptions before deleting this record', subscriptions_count, { subscriptions_count => subscriptions_count }) -%]">
139
                        <a class="dropdown-item disabled" aria-disabled="true" id="deletebiblio" href="#">Delete record</a>
139
                        <a class="dropdown-item disabled" aria-disabled="true" id="deletebiblio" href="#">Delete record</a>
140
                    </li>
140
                    </li>
141
                [% ELSE %]
141
                [% ELSE %]
142
- 

Return to bug 38684