Lines 117-123
Link Here
|
117 |
[% FOREACH item IN items %] |
117 |
[% FOREACH item IN items %] |
118 |
[% SET can_be_edited = ! ( Koha.Preference('IndependentBranches') && ! logged_in_user.is_superlibrarian && item.homebranch != Branches.GetLoggedInBranchname() ) %] |
118 |
[% SET can_be_edited = ! ( Koha.Preference('IndependentBranches') && ! logged_in_user.is_superlibrarian && item.homebranch != Branches.GetLoggedInBranchname() ) %] |
119 |
[% SET tr_class = '' %] |
119 |
[% SET tr_class = '' %] |
120 |
[% IF item.itemnumber == itemnumber %] |
120 |
[% IF item.itemnumber == itemnumber AND op == 'cud-saveitem' %] |
121 |
[% UNLESS can_be_edited %] |
121 |
[% UNLESS can_be_edited %] |
122 |
[% SET tr_class='active' %] |
122 |
[% SET tr_class='active' %] |
123 |
[% ELSE %] |
123 |
[% ELSE %] |
124 |
- |
|
|