mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 05:51:22 +00:00
37e768c68f
Added styling to gathers page Added styling to account page Improved forms styling
9 lines
491 B
Text
9 lines
491 B
Text
<div id="gather-status">
|
|
<% if cuser && (gather = cuser.gathers.active.ordered.first) %>
|
|
<%= link_to t('gather.status.joined'), gather %>
|
|
<% elsif Gather.last && (Gather::FULL - Gather.last.gatherers.count) == 12 %>
|
|
Be first to join the <%= link_to t('activerecord.models.gather'), Gather.last %>!
|
|
<% elsif Gather.last %>
|
|
<%= link_to t('activerecord.models.gather'), Gather.last %> running, <%= Gather::FULL - Gather.last.gatherers.count %> more needed.
|
|
<% end %>
|
|
</div>
|