lib/splash/webadmin/portal/views/log_history.slim in prometheus-splash-0.8.4 vs lib/splash/webadmin/portal/views/log_history.slim in prometheus-splash-0.8.5
- old
+ new
@@ -13,11 +13,11 @@
th File
th Status
th Nb Errors
th Full Nb of lines
tbody
- - @data.each do |key|
- tr
+ - @data.reverse.each do |key|
+ tr class="#{(key[key.keys.first][:status] == :clean)? 'uk-text-success' : 'uk-text-danger'}"
td #{key.keys.first}
td #{key[key.keys.first][:file]}
td #{key[key.keys.first][:status]}
td #{key[key.keys.first][:errors]}
td #{key[key.keys.first][:lines]}