LP#1549505: display badges on record summary as ratio
authorGalen Charlton <gmc@esilibrary.com>
Fri, 25 Mar 2016 14:23:58 +0000 (10:23 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 25 Mar 2016 14:23:58 +0000 (10:23 -0400)
A display of "Most Holds: 4" could be misinterpreted by the patron
as the number of holds; "Most Holds: 4 / 5.0" better indicates that
the value is a score.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/templates/opac/parts/record/summary.tt2

index 769de61..b2bd5e5 100644 (file)
@@ -319,7 +319,7 @@ IF num_uris > 0;
         <strong class='rdetail_label'>[% l("Badges:") %]</strong>
         <ul>
           [% FOR bscore IN ctx.badge_scores; %]
-            <li><strong>[% bscore.badge.name | html %]</strong>: [% bscore.score %]</li>
+            <li><strong>[% bscore.badge.name | html %]</strong>: [% bscore.score %] / 5.0</li>
         [%- END -%]
         </span>
     </li>