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

(-)a/installer/data/mysql/atomicupdate/bug_7690_-_add_ItemTypeText_syspref.sql (+1 lines)
Line 0 Link Here
1
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES ('ItemTypeText', 1, NULL, 'Show/hide the item type text label. It is recommended to have ItemTypeText enabled if noItemTypeImages is disabled.', 'YesNo');
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 226-231 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
226
('itemBarcodeFallbackSearch','',NULL,'If set, uses scanned item barcodes as a catalogue search if not found as barcodes','YesNo'),
226
('itemBarcodeFallbackSearch','',NULL,'If set, uses scanned item barcodes as a catalogue search if not found as barcodes','YesNo'),
227
('itemBarcodeInputFilter','','whitespace|T-prefix|cuecat|libsuite8|EAN13','If set, allows specification of a item barcode input filter','Choice'),
227
('itemBarcodeInputFilter','','whitespace|T-prefix|cuecat|libsuite8|EAN13','If set, allows specification of a item barcode input filter','Choice'),
228
('itemcallnumber','082ab',NULL,'The MARC field/subfield that is used to calculate the itemcallnumber (Dewey would be 082ab or 092ab; LOC would be 050ab or 090ab) could be 852hi from an item record','free'),
228
('itemcallnumber','082ab',NULL,'The MARC field/subfield that is used to calculate the itemcallnumber (Dewey would be 082ab or 092ab; LOC would be 050ab or 090ab) could be 852hi from an item record','free'),
229
('ItemTypeText', 1, NULL, 'Show/hide the item type text label. It is recommended to have ItemTypeText enabled if noItemTypeImages is disabled.', 'YesNo'),
229
('KohaAdminEmailAddress','root@localhost','','Define the email address where patron modification requests are sent','free'),
230
('KohaAdminEmailAddress','root@localhost','','Define the email address where patron modification requests are sent','free'),
230
('LabelMARCView','standard','standard|economical','Define how a MARC record will display','Choice'),
231
('LabelMARCView','standard','standard|economical','Define how a MARC record will display','Choice'),
231
('language','en',NULL,'Set the default language in the staff client.','Languages'),
232
('language','en',NULL,'Set the default language in the staff client.','Languages'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref (+7 lines)
Lines 2-7 Administration: Link Here
2
# Only used internally, omitted: FrameworksLoaded, Version
2
# Only used internally, omitted: FrameworksLoaded, Version
3
    Interface options:
3
    Interface options:
4
        -
4
        -
5
            - pref: ItemTypeText
6
              default: 1
7
              choices:
8
                  yes: "Show"
9
                  no: "Don't show"
10
            - " itemtype text labels in the catalog. NOTE: It is recommended to have ItemTypeText enabled if noItemTypeImages is disabled."
11
        -
5
            - "Email address for the administrator of Koha: "
12
            - "Email address for the administrator of Koha: "
6
            - pref: KohaAdminEmailAddress
13
            - pref: KohaAdminEmailAddress
7
              class: email
14
              class: email
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +1 lines)
Lines 666-672 function verify_images() { Link Here
666
                            [% IF !noItemTypeImages && item.imageurl %]
666
                            [% IF !noItemTypeImages && item.imageurl %]
667
                                <img src="[% item.imageurl %]" alt="[% item.translated_description %]" title="[% item.translated_description %]" />
667
                                <img src="[% item.imageurl %]" alt="[% item.translated_description %]" title="[% item.translated_description %]" />
668
                            [% END %]
668
                            [% END %]
669
                            [% item.translated_description %]
669
                            [% IF ( Koha.Preference('ItemTypeText') ) %][% item.translated_description %][% END %]
670
                        </td>
670
                        </td>
671
                    [% END %]
671
                    [% END %]
672
                    <td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) %] [% END %]</td>
672
                    <td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) %] [% END %]</td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-2 / +1 lines)
Lines 1199-1205 Link Here
1199
                                    <img src="[% ITEM_RESULT.imageurl %]" title="[% ITEM_RESULT.description %]" alt="[% ITEM_RESULT.description %]" />
1199
                                    <img src="[% ITEM_RESULT.imageurl %]" title="[% ITEM_RESULT.description %]" alt="[% ITEM_RESULT.description %]" />
1200
                                [% END %]
1200
                                [% END %]
1201
                            [% END %]
1201
                            [% END %]
1202
                            [% ITEM_RESULT.description %]
1202
                            [% IF ( Koha.Preference('ItemTypeText') ) %][% ITEM_RESULT.description %][% END %]
1203
                        </td>
1203
                        </td>
1204
                    [% END %]
1204
                    [% END %]
1205
                    [% UNLESS singleBranchMode %]
1205
                    [% UNLESS singleBranchMode %]
1206
- 

Return to bug 7960