Sha256: 86c936b4ff9c268cbb8950dbe78c9107c4002f51f12331b38373d5520f342ec4

Contents?: true

Size: 738 Bytes

Versions: 155

Compression:

Stored size: 738 Bytes

Contents

<div class="widget sites">
  <table class="list">
    <tr>
      <th colspan="2"><%= Alchemy::Site.model_name.human(count: 2) %></th>
    </tr>
    <% @sites.each do |site| %>
    <tr class="<%= cycle('even', 'odd', name: 'sites') %>">
      <td>
        <% if alchemy.respond_to?(:login_url) %>
          <%= link_to_unless site == Alchemy::Site.current,
            site.name,
            alchemy.login_url(
              protocol: 'http://',
              host: site.host,
              user: {login: current_alchemy_user.try(:login)}
            ), target: '_blank' %>
        <% else %>
          <%= site.name %>
        <% end %>
      </td>
      <td><small><%= site.host %></small></td>
    </tr>
    <% end %>
  </table>
</div>

Version data entries

155 entries across 155 versions & 1 rubygems

Version Path
alchemy_cms-7.1.13 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.0.16 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.1.12 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.0.15 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-6.1.10 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.1.11 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.1.10 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.1.9 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.0.14 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.0.13 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.1.8 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.1.7 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.0.12 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.0.11 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.1.6 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.1.5 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.0.10 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.1.4 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.0.9 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-7.1.3 app/views/alchemy/admin/dashboard/_sites.html.erb