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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt (-5 / +2 lines)
Lines 107-118 Link Here
107
                            <div class="newsbody">[% koha_new.content | $raw %]</div>
107
                            <div class="newsbody">[% koha_new.content | $raw %]</div>
108
                            <div class="newsfooter">
108
                            <div class="newsfooter">
109
                                [% published_on = BLOCK %][% koha_new.published_on | $KohaDates %][% END %]
109
                                [% published_on = BLOCK %][% koha_new.published_on | $KohaDates %][% END %]
110
                                [% author = BLOCK %]
110
                                [% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %]
111
                                    [% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %]
111
                                    [% author = BLOCK %]
112
                                        <span class="newsauthor_title">[% koha_new.author_title | html %] </span>[% koha_new.author_firstname | html %] [% koha_new.author_surname | html %]
112
                                        <span class="newsauthor_title">[% koha_new.author_title | html %] </span>[% koha_new.author_firstname | html %] [% koha_new.author_surname | html %]
113
                                    [% END %]
113
                                    [% END %]
114
                                [% END %]
115
                                [% IF author %]
116
                                    [% t('Published on {published_on} by {author}') | html | $Expand published_on = published_on, author = author %]
114
                                    [% t('Published on {published_on} by {author}') | html | $Expand published_on = published_on, author = author %]
117
                                [% ELSE %]
115
                                [% ELSE %]
118
                                    [% t('Published on {published_on}') | html | $Expand published_on = published_on %]
116
                                    [% t('Published on {published_on}') | html | $Expand published_on = published_on %]
119
- 

Return to bug 26392