Skip to content
Snippets Groups Projects
Commit 94aa2b41 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

extranet no empty metric

parent 67874713
No related branches found
No related tags found
No related merge requests found
......@@ -5,9 +5,14 @@
<div class="row">
<% @metrics.each do |metric| %>
<div class="col-md-3">
<p class="h1 mb-0"><%= metric[:value] %></p>
<p><%= metric[:name] %></p>
</div>
<%
value = metric[:value]
next if value.zero?
name = metric[:name]
%>
<div class="col-md-3">
<p class="h1 mb-0"><%= value %></p>
<p><%= name %></p>
</div>
<% end %>
</div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment