Skip to content

Commit 233a60a

Browse files
authored
$'syncing commit from monorepo. PR: 269, Title: Fix/fio 10281 adding hyperlink to file comp description error' (#133)
Co-authored-by: johnformio <johnformio@users.noreply.github.com>
1 parent c8938ad commit 233a60a

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

src/templates/bootstrap4/file/form.ejs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@
174174
{{ctx.t('browse')}}
175175
<span class="sr-only">
176176
{{ctx.t('browseToAttachFileFor') + ' ' + ctx.t(ctx.component.label, { _userInput: true }) + '. ' +
177-
(ctx.component.description ? ctx.t(ctx.component.description, { _userInput: true }) + '. ' : '') +
178177
((!ctx.component.filePattern || ctx.component.filePattern === '*') ? ctx.t('anyFileTypesAllowed') : ctx.t('allowedFileTypes') + ': ' + ctx.component.filePattern)}}
179178
</span>
180179
</a>

src/templates/bootstrap5/file/form.ejs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@
188188
{% } %}
189189
<span class="visually-hidden">
190190
{{ctx.t('browseToAttachFileFor') + ' ' + ctx.t(ctx.component.label, { _userInput: true }) + '. ' +
191-
(ctx.component.description ? ctx.t(ctx.component.description, { _userInput: true }) + '. ' : '') +
192191
((!ctx.component.filePattern || ctx.component.filePattern === '*') ? ctx.t('anyFileTypesAllowed') : ctx.t('allowedFileTypes') + ': ' + ctx.component.filePattern)}}
193192
</span>
194193
</a>

0 commit comments

Comments
 (0)