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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/user-star-ratings.inc (-3 / +2 lines)
Lines 42-52 Link Here
42
    [% IF item.my_rating %]
42
    [% IF item.my_rating %]
43
        <div>
43
        <div>
44
            <span class="rating_value_text">Your rating: [% item.my_rating.rating_value | html %].</span>
44
            <span class="rating_value_text">Your rating: [% item.my_rating.rating_value | html %].</span>
45
            <span class="cancel_rating_text js-show"><a href="#" data-context="star_rating-[% item.itemnumber | html %]"><i class="fa fa-remove"></i> Cancel rating</a>.</span>
45
            <span class="cancel_rating_text js-show"><a href="#" data-context="star_rating-[% item.itemnumber | html %]"><i class="fa fa-remove" aria-hidden="true"></i> Cancel rating</a>.</span>
46
        </div>
46
        </div>
47
    [% ELSE %]
47
    [% ELSE %]
48
        <span class="rating_value_text"></span>
48
        <span class="rating_value_text"></span>
49
        <span class="cancel_rating_text" style="display:none;"><a href="#" data-context="star_rating-[% item.itemnumber | html %]"><i class="fa fa-remove"></i> Cancel rating</a>.</span>
49
        <span class="cancel_rating_text" style="display:none;"><a href="#" data-context="star_rating-[% item.itemnumber | html %]"><i class="fa fa-remove" aria-hidden="true"></i> Cancel rating</a>.</span>
50
    [% END %]
50
    [% END %]
51
51
52
    <div class="rating_text">Average rating: [% rating_avg | html %] ([% item.ratings.count | html %] votes)</div>
52
    <div class="rating_text">Average rating: [% rating_avg | html %] ([% item.ratings.count | html %] votes)</div>
53
- 

Return to bug 25110