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

(-)a/koha-tmpl/intranet-tmpl/prog/css/mainpage.css (-5 lines)
Lines 14-24 Link Here
14
14
15
/* ==== NEWS - Start ==== */
15
/* ==== NEWS - Start ==== */
16
16
17
#area-news {
18
    border: 1px solid #EEEEEE;
19
    margin: 0.2em;
20
}
21
22
#area-news h3 {
17
#area-news h3 {
23
    /* Title section for the news block : transparency to let the koha logo appear */
18
    /* Title section for the news block : transparency to let the koha logo appear */
24
    background-color: #EEEEEE;
19
    background-color: #EEEEEE;
(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-6 lines)
Lines 723-735 label, Link Here
723
}
723
}
724
724
725
#area-news, #area-userblock {
725
#area-news, #area-userblock {
726
    background-color: #FFF;
727
    border: 0;
728
    color: #696969;
726
    color: #696969;
729
    margin: 0 0 1em 0;
730
    box-shadow: 0 0 4px 1px #00000030;
731
    display: block;
732
    padding: 1em;
733
727
734
    h3{
728
    h3{
735
        background-color: #FFFFFF;
729
        background-color: #FFFFFF;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (-5 / +4 lines)
Lines 30-36 Link Here
30
            <h1 class="sr-only">Koha home</h1>
30
            <h1 class="sr-only">Koha home</h1>
31
            <div class="col-sm-3">
31
            <div class="col-sm-3">
32
                [% IF ( koha_news.count ) %]
32
                [% IF ( koha_news.count ) %]
33
                    <div id="area-news">
33
                    <div id="area-news" class="page-section">
34
                        <h3><span class="news_title">News</span></h3>
34
                        <h3><span class="news_title">News</span></h3>
35
                        [% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'staff' || Koha.Preference('NewsAuthorDisplay') == 'both' %]
35
                        [% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'staff' || Koha.Preference('NewsAuthorDisplay') == 'both' %]
36
                        [% FOREACH koha_new IN koha_news %]
36
                        [% FOREACH koha_new IN koha_news %]
Lines 48-54 Link Here
48
                    </div><!-- /additional-contents -->
48
                    </div><!-- /additional-contents -->
49
                [% END %]
49
                [% END %]
50
                [% IF ( daily_quote ) %]
50
                [% IF ( daily_quote ) %]
51
                    <div id="area-news">
51
                    <div id="area-quote" class="page-section">
52
                        <h3>Quote of the day</h3>
52
                        <h3>Quote of the day</h3>
53
                        <div class="newsitem">
53
                        <div class="newsitem">
54
                            <span id="daily-quote-text">[% daily_quote.text | html %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source | html %]</span>
54
                            <span id="daily-quote-text">[% daily_quote.text | html %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source | html %]</span>
Lines 171-177 Link Here
171
                    <div class="col-sm-12">
171
                    <div class="col-sm-12">
172
                        [%# Following statement must be in one line for translatability %]
172
                        [%# Following statement must be in one line for translatability %]
173
                        [% IF ( CAN_user_tools_moderate_comments  && pendingcomments ) || ( CAN_user_tools_moderate_tags && pendingtags ) || ( CAN_user_borrowers_edit_borrowers && pending_borrower_modifications ) || ( CAN_user_suggestions_suggestions_manage && ( pendingsuggestions || all_pendingsuggestions )) || ( CAN_user_borrowers_edit_borrowers && pending_discharge_requests ) || pending_article_requests || ( Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes && pending_checkout_notes.count ) || ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports && pending_problem_reports.count ) || already_ran_jobs || new_curbside_pickups.count %]
173
                        [% IF ( CAN_user_tools_moderate_comments  && pendingcomments ) || ( CAN_user_tools_moderate_tags && pendingtags ) || ( CAN_user_borrowers_edit_borrowers && pending_borrower_modifications ) || ( CAN_user_suggestions_suggestions_manage && ( pendingsuggestions || all_pendingsuggestions )) || ( CAN_user_borrowers_edit_borrowers && pending_discharge_requests ) || pending_article_requests || ( Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes && pending_checkout_notes.count ) || ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports && pending_problem_reports.count ) || already_ran_jobs || new_curbside_pickups.count %]
174
                            <div id="area-pending">
174
                            <div id="area-pending" class="page-section">
175
                                [% IF pending_article_requests %]
175
                                [% IF pending_article_requests %]
176
                                <div class="pending-info" id="article_requests_pending">
176
                                <div class="pending-info" id="article_requests_pending">
177
177
Lines 262-268 Link Here
262
                [% IF ( IntranetmainUserblock ) %]
262
                [% IF ( IntranetmainUserblock ) %]
263
                    <div class="row">
263
                    <div class="row">
264
                        <div class="col-sm-12">
264
                        <div class="col-sm-12">
265
                            <div id="area-userblock">
265
                            <div id="area-userblock" class="page-section">
266
                                <div class="user-info">
266
                                <div class="user-info">
267
                                    [% IntranetmainUserblock | $raw %]
267
                                    [% IntranetmainUserblock | $raw %]
268
                                </div>
268
                                </div>
269
- 

Return to bug 31747