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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt (-6 / +6 lines)
Lines 125-146 Link Here
125
                    [% ELSE %]
125
                    [% ELSE %]
126
                        [% IF Koha.Preference('OPACUserSummary') %]
126
                        [% IF Koha.Preference('OPACUserSummary') %]
127
                            <div id="user_summary">
127
                            <div id="user_summary">
128
                                <h1>Welcome, <a href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</span></a></h1>
128
                                <h3>Welcome, <a href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</span></a></h3>
129
                                <ul id="user_summary_shortcuts">
129
                                <ul id="user_summary_shortcuts">
130
                                    [% IF checkouts && checkouts > 0 %]
130
                                    [% IF checkouts && checkouts > 0 %]
131
                                        <li><a href="/cgi-bin/koha/opac-user.pl">[% checkouts %] checkout(s)</a></li>
131
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-checkouts"><span class="user_checkouts_count count_label">[% checkouts %]</span> Checkout(s)</a></li>
132
                                    [% END %]
132
                                    [% END %]
133
                                    [% IF overdues && overdues > 0 %]
133
                                    [% IF overdues && overdues > 0 %]
134
                                        <li><a href="/cgi-bin/koha/opac-user.pl">[% overdues %] overdue(s)</a></li>
134
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-overdues"><span class="user_overdues_count count_label">[% overdues %]</span> Overdue(s)</a></li>
135
                                    [% END %]
135
                                    [% END %]
136
                                    [% IF holds_pending && holds_pending > 0 %]
136
                                    [% IF holds_pending && holds_pending > 0 %]
137
                                        <li><a href="/cgi-bin/koha/opac-user.pl">[% holds_pending %] hold(s) pending</a></li>
137
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"><span class="user_holds_pending_count count_label">[% holds_pending %]</span> Hold(s) pending</a></li>
138
                                    [% END %]
138
                                    [% END %]
139
                                    [% IF holds_waiting && holds_waiting > 0 %]
139
                                    [% IF holds_waiting && holds_waiting > 0 %]
140
                                        <li><a href="/cgi-bin/koha/opac-user.pl">[% holds_waiting %] hold(s) waiting</a></li>
140
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"><span class="user_holds_waiting_count count_label">[% holds_waiting %]</span> Hold(s) waiting</a></li>
141
                                    [% END %]
141
                                    [% END %]
142
                                    [% IF total_owing && total_owing > 0 %]
142
                                    [% IF total_owing && total_owing > 0 %]
143
                                        <li><a href="/cgi-bin/koha/opac-account.pl">[% total_owing | $Price %] due</a></li>
143
                                        <li><a href="/cgi-bin/koha/opac-account.pl"><span class="user_fines_count count_label">[% total_owing | $Price with_symbol => 1 %]</span> Due</a></li>
144
                                    [% END %]
144
                                    [% END %]
145
                                </ul>
145
                                </ul>
146
                            </div>
146
                            </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less (-1 / +70 lines)
Lines 2521-2524 a.reviewlink:visited { Link Here
2521
    color: white !important;
2521
    color: white !important;
2522
}
2522
}
2523
2523
2524
.count_label {
2525
    @base: #369;
2526
    background-color: @base;
2527
    border-radius: 5px;
2528
    color: #FFF;
2529
    display: inline-block;
2530
    font-weight: bold;
2531
    min-width: 1.5em;
2532
    padding: .2em;
2533
    text-align: center;
2534
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
2535
2536
    &:hover {
2537
        background-color: lighten( @base, 20% );
2538
    }
2539
}
2540
2541
.user_checkouts_count {
2542
2543
}
2544
2545
.user_overdues_count,
2546
.user_fines_count {
2547
    background-color: #990000;
2548
    &:hover {
2549
        background-color: lighten( #990000, 10% );
2550
    }
2551
}
2552
2553
.user_holds_pending_count {
2554
2555
}
2556
2557
.user_holds_waiting_count {
2558
    background-color: #538200;
2559
    &:hover {
2560
        background-color: lighten( #538200, 10% );
2561
    }
2562
}
2563
2564
#user_summary {
2565
    border: 1px solid #EAEAE6;
2566
    border-radius: 7px;
2567
    margin-bottom: 1em;
2568
    padding-bottom: .5em;
2569
2570
    h3 {
2571
        background-color: #EAEAE6;
2572
        border-top-left-radius: 6px;
2573
        border-top-right-radius: 6px;
2574
        box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2);
2575
        margin-top: 0;
2576
        padding: .2em 0;
2577
        text-align: center;
2578
    }
2579
2580
    ul {
2581
        list-style-type: none;
2582
        margin: 0 0 .2em 0;
2583
2584
        a {
2585
            display: block;
2586
            font-weight: bold;
2587
            padding: .2em 1em;
2588
        }
2589
    }
2590
}
2591
2592
2593
2524
@import "responsive.less";
2594
@import "responsive.less";
2525
- 

Return to bug 2093