- <td class="<%= c1 %>">
- <% if block.active? %>
- <% if block.needs_view? %>
- <%= t'user_block.partial.until_login' %>
- <% else %>
- <%= t('user_block.partial.time_future', :time => distance_of_time_in_words_to_now(block.end_at)) %>
- <% end %>
- <% else %>
- <%= t'user_block.partial.not_active' %>
- <% end %>
- </td>