lib/cutting_edge/templates/mail.html.erb in cutting_edge-0.1 vs lib/cutting_edge/templates/mail.html.erb in cutting_edge-0.2
- old
+ new
@@ -131,10 +131,10 @@
%>
<ul>
<b><%= type.to_s.split('_').collect(&:capitalize).join(' ') %></b>:
<ul>
<% dependencies.each do |dependency| %>
- <li><%= dependency[:name] %> <%= dependency[:required] %> (latest: <%= dependency[:latest] %>)</li>
+ <li<% if color = diff[dependency[:name]] %> style="color:<%= color %>;"<% end %>><%= dependency[:name] %> <%= dependency[:required] %> (latest: <%= dependency[:latest] %>)</li>
<% end %>
</ul>
</ul>
<% end %>
</p>
\ No newline at end of file