31 lines
1005 B
Plaintext
31 lines
1005 B
Plaintext
<div class="contextual">
|
|
<%= link_to l(:label_crm_deal_status_new), {:action => 'new'}, :class => 'icon icon-add' %>
|
|
</div>
|
|
|
|
<h2><%=l(:label_crm_deal_status_plural)%></h2>
|
|
|
|
<table class="list">
|
|
<thead><tr>
|
|
<th><%=l(:field_status)%></th>
|
|
<th><%=l(:field_is_default)%></th>
|
|
<th><%=l(:label_crm_deal_status_type)%></th>
|
|
<th><%=l(:button_sort)%></th>
|
|
<th></th>
|
|
</tr></thead>
|
|
<tbody>
|
|
<% for status in @deal_statuses %>
|
|
<tr class="<%= cycle("odd", "even") %>">
|
|
<td class="name"><%= link_to status.name, :action => 'edit', :id => status %></td>
|
|
<td align="center"><%= checked_image status.is_default? %></td>
|
|
<td align="center"><%= status.status_type_name %></td>
|
|
<td align="center" style="width:15%;"><%= reorder_links('deal_status', {:action => 'update', :id => status}, :put) %></td>
|
|
<td class="buttons">
|
|
<%= delete_link deal_status_path(status) %>
|
|
</td>
|
|
</tr>
|
|
<% end unless @deal_statuses.blank? %>
|
|
</tbody>
|
|
</table>
|
|
|
|
<% html_title(l(:label_crm_deal_status_plural)) -%>
|