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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc (-1 / +1 lines)
Lines 246-252 Link Here
246
        </thead>
246
        </thead>
247
        <tbody>
247
        <tbody>
248
            [% FOREACH item IN items %]
248
            [% FOREACH item IN items %]
249
                [% SET can_be_edited = ! ( Koha.Preference('IndependentBranches') && ! logged_in_user && item.homebranch != Branches.GetLoggedInBranchcode() ) %]
249
                [% SET can_be_edited = ! ( Koha.Preference('IndependentBranches') && ! logged_in_user.is_superlibrarian && item.homebranch != Branches.GetLoggedInBranchname() ) %]
250
250
251
                <tr>
251
                <tr>
252
                    [% IF checkboxes_edit %]
252
                    [% IF checkboxes_edit %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt (-1 / +1 lines)
Lines 80-86 Link Here
80
          </thead>
80
          </thead>
81
          <tbody>
81
          <tbody>
82
                [% FOREACH item IN items %]
82
                [% FOREACH item IN items %]
83
                    [% SET can_be_edited = ! ( Koha.Preference('IndependentBranches') && ! logged_in_user && item.homebranch != Branches.GetLoggedInBranchcode() ) %]
83
                    [% SET can_be_edited = ! ( Koha.Preference('IndependentBranches') && ! logged_in_user.is_superlibrarian && item.homebranch != Branches.GetLoggedInBranchname() ) %]
84
                    [% IF item.itemnumber == itemnumber%]
84
                    [% IF item.itemnumber == itemnumber%]
85
                        [% UNLESS can_be_edited %]
85
                        [% UNLESS can_be_edited %]
86
                           <tr id="row[% item.itemnumber | html %]" class="active">
86
                           <tr id="row[% item.itemnumber | html %]" class="active">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt (+2 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Asset %]
4
[% USE Asset %]
5
[% USE Branches %]
4
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
5
[% PROCESS 'i18n.inc' %]
7
[% PROCESS 'i18n.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt (-1 / +1 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% USE Branches %]
5
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Batch item modification &rsaquo; Tools &rsaquo; Koha</title>
8
<title>Batch item modification &rsaquo; Tools &rsaquo; Koha</title>
8
- 

Return to bug 30178