%= l(:text_crm_deal_updated, :name => h(@deal.full_name), :author => h(@author)) %>
- <%=l(:text_crm_deal_status_changed, :old => (@status_was ? @status_was.name : ""), :new => (@status ? @status.name : "")) %>
<%= link_to("#{l(:label_deal)} ##{@deal.id}: #{@deal.info}".html_safe, @deal_url) %>
- <%=l(:label_crm_deal_status)%>: <%=h @deal.status.name if @deal.status %>
- <%=l(:label_crm_deal_category)%>: <%=h @deal.category %>
- <%=l(:field_deal_contact)%>: <%=h @deal.contact.name if @deal.contact %>
- <%=l(:field_deal_price)%>: <%=h @deal.price %>
- <%=l(:field_assigned_to)%>: <%=h @deal.assigned_to %>
<% @deal.custom_field_values.each do |c| %>
- <%=h c.custom_field.name %>: <%=h show_value(c) %>
<% end %>
<%= textilizable(@deal, :background, :only_path => false) %>