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

Version Path
bougyman-autumn-3.1.1 lib/skel/leaves/scorekeeper/views/history.txt.erb
bougyman-autumn-3.1.10 lib/skel/leaves/scorekeeper/views/history.txt.erb
bougyman-autumn-3.1.11 lib/skel/leaves/scorekeeper/views/history.txt.erb
bougyman-autumn-3.1.3 lib/skel/leaves/scorekeeper/views/history.txt.erb
bougyman-autumn-3.1.4 lib/skel/leaves/scorekeeper/views/history.txt.erb
bougyman-autumn-3.1.6 lib/skel/leaves/scorekeeper/views/history.txt.erb
bougyman-autumn-3.1.7 lib/skel/leaves/scorekeeper/views/history.txt.erb
bougyman-autumn-3.1.8 lib/skel/leaves/scorekeeper/views/history.txt.erb
bougyman-autumn-3.1.9 lib/skel/leaves/scorekeeper/views/history.txt.erb
comboy-autumn-3.1 skel/leaves/scorekeeper/views/history.txt.erb
autumn-3.1.11 lib/skel/leaves/scorekeeper/views/history.txt.erb
autumn-3.1.10 lib/skel/leaves/scorekeeper/views/history.txt.erb
autumn-3.1.8 lib/skel/leaves/scorekeeper/views/history.txt.erb
autumn-3.1.9 lib/skel/leaves/scorekeeper/views/history.txt.erb