Sha256: 54487a1793b7032588201e2119a66a88df04d27df986e0457c07c1698f267a1f

Contents?: true

Size: 498 Bytes

Versions: 11

Compression:

Stored size: 498 Bytes

Contents

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
alchemy_cms-2.9.1 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.0.4 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.0.2 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.0.1 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.0.0 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.0.0.rc8 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-2.9.0 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.0.0.rc7 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.0.0.rc6 app/views/alchemy/admin/dashboard/_sites.html.erb
alchemy_cms-3.0.0.rc5 app/views/alchemy/admin/dashboard/_sites.html.erb