client_management/app/views/admin/client_managements/_site_spec.html.erb

87 lines
3.3 KiB
Plaintext

<% if @site_request.type == "existing" %>
<div class="line-content">
<span class="header-line">Site Title : </span>
<span class="content-line"><%= @site_request.get_site.title %></span>
</div>
<div class="line-content">
<span class="header-line">Site Domain : </span>
<span class="content-line"><a href="<%= @site_request.get_site.site_domain %>" target="_blank"><%= @site_request.get_site.site_domain %></a>
</span>
</div>
<% if @site_request.maintenance %>
<div class="line-content">
<span class="header-line">Site maintenance : </span>
<span class="content-line"><span class="label label-success">Yes</span></a>
</span>
</div>
<div class="line-content">
<span class="header-line">Number of years : </span>
<span class="content-line"><%= @site_request.maintenance_years %></a>
</span>
</div>
<% end %>
<% else %>
<div class="line-content">
<span class="header-line">Site Title :</span>
<span class="content-line"><%= @site_request.site_title %></span>
</div>
<% if @site_request.host_with_rulingdigital %>
<div class="line-content">
<span class="header-line">Host with RulingDigital : </span>
<span class="content-line"><span class="label label-success">Yes</span></span>
</div>
<% else %>
<div class="line-content">
<span class="header-line">Host with RulingDigital : </span>
<span class="content-line"><span class="label label-danger">No</span></span>
</div>
<div class="line-content">
<span class="header-line">Server Details :</span>
<span class="content-line"><%= @site_request.server_details %></span>
</div>
<% end %>
<% end %>
<% if !@site_request.optional_modules.blank? %>
<div class="line-content">
<span class="header-line">Optional Module :</span>
<span class="content-line">
<% rsm = RegisteredModule.find(@site_request.optional_modules) %>
<% rsm.each do |mod| %>
<span class="label label-info"><%= mod.name %></span>
<% end %>
</span>
</div>
<% end %>
<% if @site_request.custom_module %>
<div class="line-content">
<span class="header-line">Custom Module Required : </span>
<span class="content-line"><span class="label label-success">Yes</span></span>
</div>
<div class="line-content">
<span class="header-line">Custom Module Requirements :</span>
<span class="content-line"><%= @site_request.custom_module_details.html_safe %></span>
</div>
<% end %>
<% if !@site_request.template_number.empty? %>
<div class="line-content">
<span class="header-line">Template Number :</span>
<span class="content-line"><a href="http://www.rulingstyle.net/template/<%= @site_request.template_number %>/" target="_blank"><%= @site_request.template_number %></a></span>
</div>
<% end %>
<% if @site_request.custom_template %>
<div class="line-content">
<span class="header-line">Custom Template Required : </span>
<span class="content-line"><span class="label label-success">Yes</span></span>
</div>
<div class="line-content">
<span class="header-line">Custom Template Requirements :</span>
<span class="content-line"><%= @site_request.custom_template_details.html_safe %></span>
</div>
<% end %>
<% if @site_request.rwd %>
<div class="line-content">
<span class="header-line">RWD : </span>
<span class="content-line"><span class="label label-success">Yes</span></span>
</div>
<% end %>