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-122 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
                                        [% IF news_item %]
112
                                        [% IF news_item %]
113
                                            <span class="newsauthor_title">[% koha_new.author.title | html %] </span>[% koha_new.author.firstname | html %] [% koha_new.author.surname | html %]
113
                                            <span class="newsauthor_title">[% koha_new.author.title | html %] </span>[% koha_new.author.firstname | html %] [% koha_new.author.surname | html %]
114
                                        [% ELSE %]
114
                                        [% ELSE %]
115
                                            <span class="newsauthor_title">[% koha_new.author_title | html %] </span>[% koha_new.author_firstname | html %] [% koha_new.author_surname | html %]
115
                                            <span class="newsauthor_title">[% koha_new.author_title | html %] </span>[% koha_new.author_firstname | html %] [% koha_new.author_surname | html %]
116
                                        [% END %]
116
                                        [% END %]
117
                                    [% END %]
117
                                    [% END %]
118
                                [% END %]
119
                                [% IF author %]
120
                                    [% t('Published on {published_on} by {author}') | html | $Expand published_on = published_on, author = author %]
118
                                    [% t('Published on {published_on} by {author}') | html | $Expand published_on = published_on, author = author %]
121
                                [% ELSE %]
119
                                [% ELSE %]
122
                                    [% t('Published on {published_on}') | html | $Expand published_on = published_on %]
120
                                    [% t('Published on {published_on}') | html | $Expand published_on = published_on %]
123
- 

Return to bug 26392