restrict the view button for deleted sites
This commit is contained in:
parent
1000a1a98f
commit
81ef796a11
|
@ -19,7 +19,9 @@
|
|||
<td><%= contract.created_at.strftime("%y-%m-%d %H:%M") %></td>
|
||||
<td><%= (contract.confirmed ? "<span class='label label-success'>Yes</span>" : "<span class='label label-important'>No</span>").html_safe %></td>
|
||||
<td>
|
||||
<a href="<%= see_contract_admin_client_management_path(contract.id) %>" class="btn btn-info">View</a>
|
||||
<% if !site.nil? %>
|
||||
<a href="<%= see_contract_admin_client_management_path(contract.id) %>" class="btn btn-info">View</a>
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
Loading…
Reference in New Issue