% @site_requests.each do |request| %>
<% site = request.get_site if request.type == "existing" %>
<%= request.uid %>
| <%= request.c_panel_user.name %> |
<% case request.type %>
<% when "upgrade" %>
Site Upgrade
<% when "newsite" %>
New Site
<% when "existing" %>
New Feature
<% if !site.nil? %>
<% else %>
Site Deleted
<% end %>
<% when "addsites" %>
Sites Addition
<% end %>
|
<%= request.created_at.strftime("%y-%m-%d %H:%M") %> |
Details
<% if request.request_contract != nil %>
Contract
<% end %>
|
<% end %>