Skip to content

Commit

Permalink
Merge pull request bigcommerce#1721 from BC-tymurbiedukhin/BCTHEME-33
Browse files Browse the repository at this point in the history
fix(bctheme): BCTHEME-33 Cornerstone - byte type missing on file uplo…
  • Loading branch information
junedkazi authored Jul 13, 2020
2 parents 09ac462 + e30d247 commit 72697d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,7 @@
"quick_view": "Quick view",
"compare": "Compare",
"max_filesize": "Maximum file size is",
"kilobytes_abbreviation": "KB",
"filetypes": "file types are",
"choose_an_option": "Please choose an option",
"select_one": "Please select one",
Expand Down
10 changes: 9 additions & 1 deletion templates/components/products/options/input-file.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
{{{lang 'products.file_option_set' url=file_url name=original_name}}}
<label>{{lang 'cart.remove_file'}}<input type="checkbox" name="{{file_remove}}"></label>
{{/if}}
<p class="form-fileDescription">{{#if file_size}}{{lang 'products.max_filesize'}} <strong>{{file_size}}</strong>, {{/if}}{{#if file_types}}{{lang 'products.filetypes'}} <strong>{{file_types}}</strong>{{/if}}</p>
<p class="form-fileDescription">
{{#if file_size}}
{{lang 'products.max_filesize'}}
<strong>{{file_size}}{{lang 'products.kilobytes_abbreviation'}}</strong>,
{{/if}}
{{#if file_types}}
{{lang 'products.filetypes'}} <strong>{{file_types}}</strong>
{{/if}}
</p>

</div>

0 comments on commit 72697d1

Please sign in to comment.