Sha256: fccca6fdf8715b1acd345f3abf4afd57d1b4afb4ac74df706839f47c4f9ad32e

Contents?: true

Size: 760 Bytes

Versions: 5

Compression:

Stored size: 760 Bytes

Contents

<h1><%=@pool.name%> Entries For <%=current_user.login%></h1>

<% if @entries.empty? %>
<p>
You have no entries.
</p>
<% else %>
<ul>
<% @entries.each do |entry| %>
<li><%= link_to entry.name, :action => 'show', :id => entry.id %> <% if entry.completed %><span class="entryCompleted">COMPLETED</span><%else%><span class="entryPending">PENDING</span><%end%></li>
<% end %>
</ul>
<% end %>
<% if @pool.accepting_entries? -%>
<p>
<%= link_to 'Create a new entry', :action => 'new', :id => @pool.id %>
</p>
<% elsif !@pool.ready? -%>
<i>This pool is not yet ready.  The pool starts in <%= distance_of_time_in_words(@pool.starts_at, Time.now) %>.  After it starts, you can make entries.</i>
<% else -%>
<i>This pool is not accepting any more entries.</i>
<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tournament-3.1.0 webgui/app/views/entry/index.html.erb
tournament-3.0.3 webgui/app/views/entry/index.html.erb
tournament-3.0.2 webgui/app/views/entry/index.html.erb
tournament-3.0.1 webgui/app/views/entry/index.html.erb
tournament-3.0.0 webgui/app/views/entry/index.html.erb