Sha256: eb00342bb26283d5f892cea6f85384f6909eaa50aa1bbdcdc27afaa4c7e3961e
Contents?: true
Size: 589 Bytes
Versions: 14
Compression:
Stored size: 589 Bytes
Contents
<% if var(:no_history) %> <%= var :person %> is not a part of the scoring system. <% elsif var(:no_giver_history) %> <%= var :giver %> has not awarded any points to <%= var(:receiver).name %>. <% elsif var(:scores).empty? %> <%= var(:receiver).name %> has no points history. <% else %> <% var(:scores).each do |score| %> [<%= score.created_at.strftime '%m/%d %I:%M %p' %>] <%= score.giver.name %> <%= score.change > 0 ? 'gave' : 'docked' %> <%= score.receiver.name %> <%= score.change.abs.pluralize('point') %><% if score.note %>: <%= score.note %><% end %> <% end %> <% end %>
Version data entries
14 entries across 14 versions & 3 rubygems