Skip to content

Commit

Permalink
Bug Fix: capitalization of HMAC consistency on transit engine (#8528) (
Browse files Browse the repository at this point in the history
…#8532)

* upper case the transit form title for hmac

* uppercase hmac for tab

* fix indentation
  • Loading branch information
Monkeychip authored Mar 11, 2020
1 parent 8cbbaf6 commit c293558
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion ui/app/templates/partials/transit-form-show.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,13 @@
</div>
<div class="transit-description">
<h2 class="title is-6" data-test-transit-action-title={{supportedAction.name}}>
{{if (eq supportedAction.name 'export') 'Export Key' (humanize supportedAction.name)}}
{{#if (eq supportedAction.name 'export')}}
Export Key
{{else if (eq supportedAction.name 'hmac')}}
HMAC
{{else}}
{{humanize supportedAction.name}}
{{/if}}
</h2>
<p class="transit-action-description">{{supportedAction.description}}</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,13 @@
queryParams=(query-params action=supportedAction.name)
data-test-transit-action-link=supportedAction.name
}}
{{if (eq supportedAction.name 'export') 'Export Key' (humanize supportedAction.name)}}
{{#if (eq supportedAction.name 'export')}}
Export Key
{{else if (eq supportedAction.name 'hmac')}}
HMAC
{{else}}
{{humanize supportedAction.name}}
{{/if}}
{{/secret-link}}
</li>
{{/each}}
Expand Down

0 comments on commit c293558

Please sign in to comment.