<div class="filesupload-Result">
{{if tmpFileArray.length > 0}}
<p>{{> ~loc('_ label.filesupload.versionadded')}}{{colon /}}</p>
<ul class="filesupload-List">
    {{for tmpFileArray}}
    <li>
        <p>
            <span class="filesupload-Extension">[ .{{> extension}} ]</span>
        </p>
        <p>
            {{> ~loc('_ label.global.uploadedfile')}}{{colon /}}  <a href="{{: ~tmpPath(tmpFileName)}}" target="_blank">{{> originalBasename}}.{{> extension}}</a>
        </p>
    </li>
    {{/for}}
</ul>
{{/if}}
{{if uploadErrorArray.length > 0}}
<p>{{> ~loc('_ label.filesupload.errorlist')}}{{colon /}}</p>
<ul class="filesupload-List">
    {{for uploadErrorArray}}
    <li>
        <p>
            <span class="global-ErrorMessage">{{> message.text}}</span>
        </p>
        <p>
            {{> ~loc('_ label.global.uploadedfile')}}{{colon /}} <a href="{{: ~tmpPath(tmpFile.tmpFileName)}}" target="_blank">{{> tmpFile.originalBasename}}.{{> tmpFile.extension}}</a>
        </p>
    </li>
    {{/for}}
</ul>
{{/if}}
</div>

