ensl.org/app/views/application/_gather.html.erb
Luke Barratt 12ed7c90ae Start to cleanup old assets
Added new ISO country code flag icons to asset pipeline
Lots and lots of new style changes
Began converting to JS to coffeescript
2014-04-09 00:28:53 +01:00

9 lines
484 B
Text

<div id="gather">
<% 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>