From 06d0403d76714fd9095c2b458cc42d1bd1116a01 Mon Sep 17 00:00:00 2001 From: Sam Lucidi Date: Tue, 10 Jan 2017 12:29:48 -0500 Subject: [PATCH] Add special handling for Image/Snapshot column in ApplicationController --- app/controllers/application_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index e240c0ddeca..f1dd4fd174b 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -895,6 +895,8 @@ def view_to_hash(view) celltext = row[col].titleize when 'hardware.bitness' celltext = row[col] ? "#{row[col]} bit" : '' + when 'image?' + celltext = row[col] ? _("Image") : _("Snapshot") else # Use scheduled tz for formatting, if configured if ['miqschedule'].include?(view.db.downcase)