Sha256: 32852b27ce6b9c6d106e5d84a07f88956053006f371e1f8edb4a6a96d4eaf7a7

Contents?: true

Size: 1.54 KB

Versions: 98

Compression:

Stored size: 1.54 KB

Contents

<ul class="space-y">
  <% @teams.each do |team| %>
    <li class="bg-white shadow overflow-hidden sm:rounded-md dark:bg-sealBlue-400">
      <%= link_to [:account, team], class: "group block hover:bg-gray-50 dark:hover:bg-sealBlue-400 dark:text-sealBlue-800" do %>
        <div class="px-4 py-4 flex items-center sm:pl-8 sm:pr-6">
          <div class="min-w-0 flex-1 sm:flex sm:items-center sm:justify-between">
            <div>
              <div class="flex text-xl font-semibold text-blue uppercase group-hover:text-blue-dark tracking-widest dark:text-white">
                <%= team.name %>
              </div>
            </div>
            <div class="mt-4 flex-shrink-0 sm:mt-0">
              <div class="flex overflow-hidden">
                <%= render 'account/shared/memberships/photos', memberships: team.memberships.current_and_invited.first(10) %>
              </div>
            </div>
          </div>
          <div class="ml-5 flex-shrink-0">
            <svg class="h-5 w-5 text-gray-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
              <path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
            </svg>
          </div>
        </div>
      <% end %>
    </li>
  <% end %>
</ul>

<% if show_sign_up_options? && can?(:create, Team.new) %>
  <div class="pt-5">
    <%= link_to t('.buttons.create'), new_account_team_path(@team), class: 'button'  %>
  </div>
<% end %>

Version data entries

98 entries across 98 versions & 1 rubygems

Version Path
bullet_train-1.1.10 app/views/account/teams/_index.html.erb
bullet_train-1.1.9 app/views/account/teams/_index.html.erb
bullet_train-1.1.7 app/views/account/teams/_index.html.erb
bullet_train-1.1.6 app/views/account/teams/_index.html.erb
bullet_train-1.1.5 app/views/account/teams/_index.html.erb
bullet_train-1.1.4 app/views/account/teams/_index.html.erb
bullet_train-1.1.3 app/views/account/teams/_index.html.erb
bullet_train-1.1.2 app/views/account/teams/_index.html.erb
bullet_train-1.1.1 app/views/account/teams/_index.html.erb
bullet_train-1.1.0 app/views/account/teams/_index.html.erb
bullet_train-1.0.99 app/views/account/teams/_index.html.erb
bullet_train-1.0.98 app/views/account/teams/_index.html.erb
bullet_train-1.0.97 app/views/account/teams/_index.html.erb
bullet_train-1.0.96 app/views/account/teams/_index.html.erb
bullet_train-1.0.95 app/views/account/teams/_index.html.erb
bullet_train-1.0.93 app/views/account/teams/_index.html.erb
bullet_train-1.0.92 app/views/account/teams/_index.html.erb
bullet_train-1.0.90 app/views/account/teams/_index.html.erb
bullet_train-1.0.89 app/views/account/teams/_index.html.erb
bullet_train-1.0.88 app/views/account/teams/_index.html.erb