Sha256: a1bdcd9b8d47f089e1bf1510fc6c0626196f8fd484403d29c47f221cd4b3a654

Contents?: true

Size: 543 Bytes

Versions: 8

Compression:

Stored size: 543 Bytes

Contents

<% if current_user.accessible_organizations.empty? %>
  <%= t :not_in_any_organizations %>
<% else %>
  <% organizations_for(current_user).each do |org| %>
      <div class="row">
        <div class="col-md-6 organization-row">
          <%= image_tag(org.banner_url, height: 50, class: 'pull-left') %>
        </div>
        <div class="col-md-6 organization-row">
          <%= link_to(t(:go_to, organization: org.name), organization_switch_url(org), class: 'btn btn-success pull-right') %>
        </div>
      </div>
  <% end %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mumuki-laboratory-5.11.0 app/views/layouts/_organizations_listing.html.erb
mumuki-laboratory-5.10.4 app/views/layouts/_organizations_listing.html.erb
mumuki-laboratory-5.10.3 app/views/layouts/_organizations_listing.html.erb
mumuki-laboratory-5.10.2 app/views/layouts/_organizations_listing.html.erb
mumuki-laboratory-5.10.1 app/views/layouts/_organizations_listing.html.erb
mumuki-laboratory-5.10.0 app/views/layouts/_organizations_listing.html.erb
mumuki-laboratory-5.9.1 app/views/layouts/_organizations_listing.html.erb
mumuki-laboratory-5.9.0 app/views/layouts/_organizations_listing.html.erb