19 lines
1.0 KiB
Plaintext
19 lines
1.0 KiB
Plaintext
<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 %>
|
|
<span class="status-server offline"><%= t("registered_sites.site_inactive") %></span><br />
|
|
<%= t("registered_sites.email_not_confirmed") %>
|
|
<% elsif !user_site.access_granted %>
|
|
<span class="status-server offline"><%= t("registered_sites.site_inactive") %></span><br />
|
|
<%= t("registered_sites.site_permission_revoked") %>
|
|
<% else %>
|
|
<span class="status-server online"><%= t("registered_sites.site_active") %></span><br />
|
|
<% end %>
|
|
<span class="action-server">
|
|
<a href="/cpanel/site/<%= user_site.uid %>" class="btn btn-info">Manage</a>
|
|
</span>
|
|
</li> |