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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-4 / +9 lines)
Lines 185-191 Item types administration Link Here
185
                            <a href="#[% imageset.imagesetname %]">[% imageset.imagesetname %]</a>
185
                            <a href="#[% imageset.imagesetname %]">[% imageset.imagesetname %]</a>
186
                            </li>
186
                            </li>
187
                        [% END %]
187
                        [% END %]
188
                        [% IF itemtype.image_location.match('^http') %]<li class="ui-tabs-active">[% ELSE %]<li>[% END %]<a href="#remote">Remote image</a></li>
188
                        [% IF itemtype.image_location('intranet').match('^http') %]<li class="ui-tabs-active">[% ELSE %]<li>[% END %]<a href="#remote">Remote image</a></li>
189
                    </ul>
189
                    </ul>
190
                    <div id="none">
190
                    <div id="none">
191
                        <ul>
191
                        <ul>
Lines 319-325 Item types administration Link Here
319
                <tr>
319
                <tr>
320
                    <th scope="row">Image</th>
320
                    <th scope="row">Image</th>
321
                    <td>
321
                    <td>
322
                        [% IF itemtype.image_location %]<img src="[% itemtype.image_location %]" alt="" />[% END %]
322
                        [% SET image_location = itemtype.image_location('intranet') %]
323
                        [% IF image_location %]<img src="[% image_location %]" alt="" />[% END %]
323
                    </td>
324
                    </td>
324
                </tr>
325
                </tr>
325
            [% END %]
326
            [% END %]
Lines 352-358 Item types administration Link Here
352
          </thead>
353
          </thead>
353
          [% FOREACH itemtype IN itemtypes %]
354
          [% FOREACH itemtype IN itemtypes %]
354
            <tr>
355
            <tr>
355
           [% UNLESS Koha.Preference('noItemTypeImages') %] <td>[% IF itemtype.image_location %]<img src="[% itemtype.image_location %]" alt="" />[% ELSE %]&nbsp;[% END %]</td>[% END %]
356
                [% UNLESS Koha.Preference('noItemTypeImages') %]
357
                    <td>
358
                        [% SET image_location = itemtype.image_location('intranet') %]
359
                        [% IF image_location %]<img src="[% image_location %]" alt="" />[% ELSE %]&nbsp;[% END %]
360
                    </td>
361
                [% END %]
356
            <td>
362
            <td>
357
              <a href="/cgi-bin/koha/admin/itemtypes.pl?op=add_form&amp;itemtype=[% itemtype.itemtype |html %]">
363
              <a href="/cgi-bin/koha/admin/itemtypes.pl?op=add_form&amp;itemtype=[% itemtype.itemtype |html %]">
358
                [% itemtype.itemtype %]
364
                [% itemtype.itemtype %]
359
- 

Return to bug 17657