{{extend 'layout.html'}}

{{=T('Files') + ' (' + T('project') + ': ' + nazev_projektu + ')'}}

{{if len(soubor)!=0:}} {{for i in soubor:}} {{pass}} {{pass}}

{{=A(T('File'), _href='soubor')}}

{{=A(T('Saved by'), _href='prijmeni')}}

{{=A(T('Date'), _href='datum')}}

{{=A(T('Size'), _href='velikost')}}

{{=A(i.SOUBOR.NAZEV_SOUBORU, _href=URL('projekt_soubor_stahnout', args=i.SOUBOR.SOUBOR))}} {{=i.auth_user.first_name}} {{=i.auth_user.last_name}} {{=i.SOUBOR.C_TIMESTAMP}} {{ if i.SOUBOR.VELIKOST<1000: response.write(str(i.SOUBOR.VELIKOST) + ' B') elif (i.SOUBOR.VELIKOST>999) and (i.SOUBOR.VELIKOST<1000000): response.write(str(i.SOUBOR.VELIKOST/1000) + ',' + str(i.SOUBOR.VELIKOST%1000)[0] + ' kB') elif (i.SOUBOR.VELIKOST>999999): response.write(str(i.SOUBOR.VELIKOST/1000000) + ',' + str(i.SOUBOR.VELIKOST%1000000)[0] + ' MB') pass }}

{{=T('File upload')}}

{{=form}}