We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9c8ad5 commit be82582Copy full SHA for be82582
lib/gtl_formatter.rb
@@ -12,6 +12,7 @@ class GtlFormatter
12
COLUMN_WITH_ICON = {
13
'authentication_status' => 'authentication_status_image',
14
'last_compliance_status' => 'last_compliance_status_image',
15
+ 'payload_valid' => 'payload_valid_image',
16
}.freeze
17
18
COLUMN_WITH_BACKGROUND_ICON = {
@@ -218,6 +219,15 @@ def self.authentication_status_image(item)
218
219
end
220
221
222
+ def self.payload_valid_image(item)
223
+ case item.payload_valid
224
+ when true
225
+ "pficon pficon-ok"
226
+ else
227
+ "pficon pficon-error-circle-o"
228
+ end
229
230
+
231
def self.normalized_state_image(item)
232
NORMALIZED_STATE_ICON[item.normalized_state]
233
0 commit comments