Skip to content

Commit

Permalink
Merge pull request #1629 from rieck-srlabs/feature/1628-ebs-volume-de…
Browse files Browse the repository at this point in the history
…tail-view-highlighting

Adds highlighting for "EBS Volume Not Encrypted" detail view
  • Loading branch information
fernando-gallego authored May 8, 2024
2 parents 0a31ecc + 869919c commit 6df2cfa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@
<h4 class="list-group-item-heading">{{name}}</h4>
</div>
<div class="list-group-item">
<h4 class="list-group-item-heading">Attributes</h4>
{{> generic_object this}}
<h4 class="list-group-item-heading">Information</h4>
<div class="list-group-item-text item-margin">ID: <span id="ec2.regions.{{region}}.volumes.{{@key}}.id"><samp>{{value_or_none id}}</samp></span></div>
<div class="list-group-item-text item-margin">ARN: <span id="ec2.regions.{{region}}.volumes.{{@key}}.arn"><samp>{{value_or_none arn}}</samp></span></div>
<div class="list-group-item-text item-margin">Name: <span id="ec2.regions.{{region}}.volumes.{{@key}}.name"><samp>{{value_or_none name}}</samp></span></div>
<div class="list-group-item-text item-margin">State: <span id="ec2.regions.{{region}}.volumes.{{@key}}.state"><samp>{{value_or_none State}}</samp></span></div>
<div class="list-group-item-text item-margin">Size: <span id="ec2.regions.{{region}}.volumes.{{@key}}.size"><samp>{{value_or_none Size}} GiB</samp></span></div>
<div class="list-group-item-text item-margin">Volume Type: <span id="ec2.regions.{{region}}.volumes.{{@key}}.volume_type"><samp>{{value_or_none VolumeType}}</samp></span></div>
<div class="list-group-item-text item-margin">Create Time: <span id="ec2.regions.{{region}}.volumes.{{@key}}.create_time"><samp>{{value_or_none CreateTime}}</samp></span></div>
<div class="list-group-item-text item-margin">Encryption: <span id="ec2.regions.{{region}}.volumes.{{@key}}.encrypted">{{convert_bool_to_enabled Encrypted}}</span></div>
</div>
</script>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"false",
""
]
]
],
"id_suffix": "encrypted"
}

0 comments on commit 6df2cfa

Please sign in to comment.