Sha256: bffda4cea533ab9e137f974d01e976cb98bba67a49588e013f68cd627d36fcc5

Contents?: true

Size: 691 Bytes

Versions: 49

Compression:

Stored size: 691 Bytes

Contents

<div class="widget sites">
  <h2><%= Alchemy::Site.model_name.human(count: 2) %>:</h2>
  <table>
    <% @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

49 entries across 49 versions & 2 rubygems

Version Path
alchemy_cms-3.5.0.rc2 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.5.0.rc1 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.4.1 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.3.3 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.3.2 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.4.0 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.4.0.rc1 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.3.1 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.3.0 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.3.0.rc2 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.3.0.rc1 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.2.1 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/dashboard/_sites.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/dashboard/_sites.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/dashboard/_sites.html.erb