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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-2 / +10 lines)
Lines 76-89 Link Here
76
            <label for="lib">Description: </label>
76
            <label for="lib">Description: </label>
77
            <input type="text" name="lib" id="lib" value="[% lib | html %]" maxlength="200" />
77
            <input type="text" name="lib" id="lib" value="[% lib | html %]" maxlength="200" />
78
            [% IF can_be_translated %]
78
            [% IF can_be_translated %]
79
                <a href="/cgi-bin/koha/admin/localization.pl?entity=avs&code=[% authorised_value | uri %]&interface=intranet"" title="Translate description" rel="gb_page_center[600,500]"><i class="fa fa-pencil"></i> Translate into other languages</a>
79
                [% IF action_modify %]
80
                    <a href="/cgi-bin/koha/admin/localization.pl?entity=avs&code=[% authorised_value | uri %]&interface=intranet"" title="Translate description" rel="gb_page_center[600,500]"><i class="fa fa-pencil"></i> Translate into other languages</a>
81
                [% ELSE %]
82
                    <a href="#" class="disabled" title="The authorized value has to be saved to make it translatable"><i class="fa fa-pencil"></i> Translate into other languages</a>
83
                [% END %]
80
            [% END %]
84
            [% END %]
81
        </li>
85
        </li>
82
	<li>
86
	<li>
83
            <label for="lib_opac">Description (OPAC): </label>
87
            <label for="lib_opac">Description (OPAC): </label>
84
            <input type="text" name="lib_opac" id="lib_opac" value="[% lib_opac | html %]" maxlength="200" />
88
            <input type="text" name="lib_opac" id="lib_opac" value="[% lib_opac | html %]" maxlength="200" />
85
            [% IF can_be_translated %]
89
            [% IF can_be_translated %]
86
                <a href="/cgi-bin/koha/admin/localization.pl?entity=avs&code=[% authorised_value | uri %]&interface=opac" title="Translate OPAC description" rel="gb_page_center[600,500]"><i class="fa fa-pencil"></i> Translate into other languages</a>
90
                [% IF action_modify %]
91
                    <a href="/cgi-bin/koha/admin/localization.pl?entity=avs&code=[% authorised_value | uri %]&interface=opac" title="Translate OPAC description" rel="gb_page_center[600,500]"><i class="fa fa-pencil"></i> Translate into other languages</a>
92
                [% ELSE %]
93
                    <a href="#" class="disabled" title="The authorized value has to be saved to make it translatable"><i class="fa fa-pencil"></i> Translate into other languages</a>
94
                [% END %]
87
            [% END %]
95
            [% END %]
88
        </li>
96
        </li>
89
        <li><label for="branches">Library limitations: </label>
97
        <li><label for="branches">Library limitations: </label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-2 / +5 lines)
Lines 119-125 Item types administration Link Here
119
                    <label for="description" class="required">Description: </label>
119
                    <label for="description" class="required">Description: </label>
120
                    <input type="text" id="description" name="description" size="48" value="[% itemtype.description | html %]" required="required" /> <span class="required">Required</span>
120
                    <input type="text" id="description" name="description" size="48" value="[% itemtype.description | html %]" required="required" /> <span class="required">Required</span>
121
                    [% IF can_be_translated %]
121
                    [% IF can_be_translated %]
122
                        <a href="/cgi-bin/koha/admin/localization.pl?entity=itemtypes&code=[% itemtype.itemtype | uri %]" title="Translate item type [% itemtype.itemtype | html %]" rel="gb_page_center[600,500]"><i class="fa fa-pencil"></i> Translate into other languages</a>
122
                        [% IF itemtype %]
123
                            <a href="/cgi-bin/koha/admin/localization.pl?entity=itemtypes&code=[% itemtype.itemtype | uri %]" title="Translate item type [% itemtype.itemtype | uri %]" rel="gb_page_center[600,500]"><i class="fa fa-pencil"></i> Translate into other languages</a>
124
                        [% ELSE %]
125
                            <a href="#" class="disabled" title="Translate item type [% itemtype.itemtype | uri %]" ><i class="fa fa-pencil"></i> The item type has to be saved to make it translable</a>
126
                        [% END %]
123
                    [% END %]
127
                    [% END %]
124
                </li>
128
                </li>
125
                <li>
129
                <li>
126
- 

Return to bug 20307