Merge pull request #3927 from loganhz/logging-master

[Master] Fix log volume format button issue
This commit is contained in:
Westly Wright 2020-05-08 10:57:42 -07:00 committed by GitHub
commit 700c4360bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 8 deletions

View File

@ -14,14 +14,16 @@
</div>
<div class="col span-6">
{{#if editing}}
<label class="acc-label pull-left">{{t 'volumeSource.customLogPath.logFormat.label'}}</label>
<a role="button" class="btn bg-transparent p-0 text-small pull-right" {{action "useCustomRegex"}}>
{{#if useCustomRegex}}
{{t 'volumeSource.customLogPath.logFormat.useExistingLogFormat'}}
{{else}}
{{t 'volumeSource.customLogPath.logFormat.useCustomRegex'}}
{{/if}}
</a>
<div class="clearfix">
<label class="acc-label pull-left">{{t 'volumeSource.customLogPath.logFormat.label'}}</label>
<a role="button" class="btn bg-transparent p-0 text-small pull-right" {{action "useCustomRegex"}}>
{{#if useCustomRegex}}
{{t 'volumeSource.customLogPath.logFormat.useExistingLogFormat'}}
{{else}}
{{t 'volumeSource.customLogPath.logFormat.useCustomRegex'}}
{{/if}}
</a>
</div>
{{/if}}
{{#if useCustomRegex}}
{{#if editing}}