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

(-)a/Koha/Template/Plugin/Frameworks.pm (-1 / +1 lines)
Lines 47-53 is not found Link Here
47
sub GetName {
47
sub GetName {
48
    my ( $self, $frameworkcode ) = @_;
48
    my ( $self, $frameworkcode ) = @_;
49
    return q{} unless defined $frameworkcode;
49
    return q{} unless defined $frameworkcode;
50
    return q{} if $frameworkcode eq q{};
50
    return q{} if $frameworkcode eq q{}; # Default framework must be handled in templates for translatability
51
51
52
    my $f = Koha::BiblioFrameworks->find($frameworkcode);
52
    my $f = Koha::BiblioFrameworks->find($frameworkcode);
53
53
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +6 lines)
Lines 138-144 Link Here
138
        <span id="catalogue_detail_marc_preview" class="results_summary"><span class="label">MARC preview:</span> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber | uri %]&amp;viewas=html" title="MARC" class="previewMARC">Show</a></span>
138
        <span id="catalogue_detail_marc_preview" class="results_summary"><span class="label">MARC preview:</span> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber | uri %]&amp;viewas=html" title="MARC" class="previewMARC">Show</a></span>
139
        <span id="catalogue_detail_framework" class="results_summary">
139
        <span id="catalogue_detail_framework" class="results_summary">
140
            <span class="label">MARC framework:</span>
140
            <span class="label">MARC framework:</span>
141
            <span class="frameworkcode">[% Frameworks.GetName(biblio.frameworkcode) | html %]</span>
141
            [% SET framework_name = Frameworks.GetName(biblio.frameworkcode) %]
142
            [% IF (framework_name) %]
143
                <span class="frameworkcode">[% framework_name | html %]</span>
144
            [% ELSE %]
145
                <span class="frameworkcode">Default</span>
146
            [% END %]
142
        </span>
147
        </span>
143
        [% IF !item_level_itypes ||  Koha.Preference("BiblioItemtypeInfo") %]
148
        [% IF !item_level_itypes ||  Koha.Preference("BiblioItemtypeInfo") %]
144
           <span class="results_summary itemtype"><span class="label">Itemtype:</span>
149
           <span class="results_summary itemtype"><span class="label">Itemtype:</span>
145
- 

Return to bug 33607