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

69 lines
1.8 KiB
Plaintext

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