When legacy circ counts are displayed in the AngularJS client, the
year shows up as -1. This patch attempts to replace -1 with a
translatable string: "Legacy/Not Dated" as was used in the XUL staff
client.
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
[% l('Total Circs') %]
<script type="text/ng-template" id="circ-popover.html">
<div ng-repeat="circ_count in circ_counts | orderBy:'year'">
- {{circ_count.year}}: {{circ_count.count}}
+ {{(circ_count.year === -1) ? "[% l('Legacy/Not Dated') %]" : circ_count.year}}: {{circ_count.count}}
</div>
</script>
<button type="button"