fix(files): file upload tmpl changes

This commit is contained in:
RhodeCode Admin 2026-01-14 16:12:09 +01:00
parent 916af39331
commit e5c5e923b0
2 changed files with 96 additions and 4 deletions

View file

@ -98,11 +98,11 @@
const inputElement = document.querySelector('#file-uploader');
const labelIdleHtml = `
<i class="icon-upload" style="font-size:36px"></i><br/>
<i class="icon-doc"></i>
% if not c.replace_binary:
${_("Drag'n Drop files here or")} <span class="link">${_('Choose your files')}</span>.<br>
${_("Paste, drop, or")} <span class="link">${_('click to add files')}</span>
% else:
${_("Drag'n Drop file here or")} <span class="link">${_('Choose your file')}</span>.<br>
${_("Paste, drop, or")} <span class="link">${_('click to add file')}</span>
% endif
`;