@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 11 +++++++++++ koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -1232,6 +1232,17 @@ div { } } +#newst { + thead { + position: sticky; + top: 0; + } + .news_content { + max-width: 200px; + overflow: hidden; + } +} + #header_search { background-position: .5em .5em; background-repeat: no-repeat; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt @@ -123,7 +123,7 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %] Expiration date Title Author - News + News Actions [% FOREACH opac_new IN opac_news %] @@ -155,7 +155,7 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %] [% opac_new.expirationdate | $KohaDates %] [% IF ( opac_new.expired ) %](expired)[% END %] [% opac_new.title | html %] [% opac_new.author_title | html %] [% opac_new.author_firstname | html %] [% opac_new.author_surname | html %] - + [% opac_new.content | $raw %] --