Update daily_summary.html.erb
This commit is contained in:
parent
cbf44e3dfe
commit
901eb4a513
1 changed files with 6 additions and 6 deletions
|
@ -15,22 +15,22 @@
|
|||
<%= link_to @map.name, map_url(@map) %>
|
||||
</p>
|
||||
<div>
|
||||
<% if !@summary_data[:stats][:messages_sent].nil? %>
|
||||
<% if @summary_data[:stats][:messages_sent] %>
|
||||
<p style="margin:6px 0;color:#a354cd;"><%= pluralize(@summary_data[:stats][:messages_sent], 'message') %></p>
|
||||
<% end %>
|
||||
<% if !@summary_data[:stats][:topics_added].nil? %>
|
||||
<% if @summary_data[:stats][:topics_added] %>
|
||||
<p style="margin:6px 0;color:#4FC059;"><%= pluralize(@summary_data[:stats][:topics_added], 'topic') %> added</p>
|
||||
<% end %>
|
||||
<% if !@summary_data[:stats][:synapses_added].nil? %>
|
||||
<% if @summary_data[:stats][:synapses_added] %>
|
||||
<p style="margin:6px 0;color:#4FC059;"><%= pluralize(@summary_data[:stats][:synapses_added], 'synapse') %> added</p>
|
||||
<% end %>
|
||||
<% if !@summary_data[:stats][:topics_moved].nil? %>
|
||||
<% if @summary_data[:stats][:topics_moved] %>
|
||||
<p style="margin:6px 0;color:#00BCD4;"><%= pluralize(@summary_data[:stats][:topics_moved], 'topic') %> moved</p>
|
||||
<% end %>
|
||||
<% if !@summary_data[:stats][:topics_removed].nil? %>
|
||||
<% if @summary_data[:stats][:topics_removed] %>
|
||||
<p style="margin:6px 0;color:#c04f4f;"><%= pluralize(@summary_data[:stats][:topics_removed], 'topic') %> removed</p>
|
||||
<% end %>
|
||||
<% if !@summary_data[:stats][:synapses_removed].nil? %>
|
||||
<% if @summary_data[:stats][:synapses_removed] %>
|
||||
<p style="margin:6px 0;color:#c04f4f;"><%= pluralize(@summary_data[:stats][:synapses_removed], 'synapse') %> removed</p>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue