2017-03-07 09:37:28 +00:00
|
|
|
<li class="item-servers">
|
|
|
|
<span class="name-server"><%= user_site.title %></span>
|
|
|
|
<div class="info-server">
|
|
|
|
<span class="address-server"><a href="http://<%= user_site.site_domain %>" target="_blank"><i class="fa fa-sitemap" aria-hidden="true"></i><%= user_site.site_domain %></a></span>
|
|
|
|
<span class="regdate-server"><i class="fa fa-calendar" aria-hidden="true"></i></i><%= user_site.created_at.strftime("%d %B %Y") %></span>
|
|
|
|
</div>
|
|
|
|
<% if !user_site.site_confirmed %>
|
2017-04-10 08:21:41 +00:00
|
|
|
<span class="status-server offline"><%= t("registered_sites.site_inactive") %></span>
|
2017-03-07 09:37:28 +00:00
|
|
|
<%= t("registered_sites.email_not_confirmed") %>
|
|
|
|
<% elsif !user_site.access_granted %>
|
2017-04-10 08:21:41 +00:00
|
|
|
<span class="status-server offline"><%= t("registered_sites.site_inactive") %></span>
|
2017-03-07 09:37:28 +00:00
|
|
|
<%= t("registered_sites.site_permission_revoked") %>
|
|
|
|
<% else %>
|
2017-04-10 08:21:41 +00:00
|
|
|
<span class="status-server online"><%= t("registered_sites.site_active") %></span>
|
2017-03-07 09:37:28 +00:00
|
|
|
<% end %>
|
|
|
|
<span class="action-server">
|
|
|
|
<a href="/cpanel/site/<%= user_site.uid %>" class="btn btn-info">Manage</a>
|
|
|
|
</span>
|
|
|
|
</li>
|