{extends "idf/downloads/base.html"} {block docclass}yui-t3{assign $inDownloads=true}{/block} {block body}
{if $deprecated}

{blocktrans}Attention! This file is marked as deprecated, download it only if you are sure you need this specific version.{/blocktrans}

{/if} {$file} - {$file.filesize|size}
{if $file.changelog}

{trans 'Changes'}

{markdown $file.changelog, $request} {/if} {if $form} {if $form.errors}

{trans 'The form contains some errors. Please correct them to update the file.'}

{if $form.get_top_errors} {$form.render_top_errors|unsafe} {/if}
{/if}
{aurl 'url', 'IDF_Views_Download::delete', array($project.shortname, $file.id)}
{$form.f.summary.labelTag}: {if $form.f.summary.errors}{$form.f.summary.fieldErrors}{/if} {$form.f.summary|unsafe}
{$form.f.changelog.labelTag}: {if $form.f.changelog.errors}{$form.f.changelog.fieldErrors}{/if} {$form.f.changelog|unsafe}
{$form.f.label1.labelTag}: {if $form.f.label1.errors}{$form.f.label1.fieldErrors}{/if}{$form.f.label1|unsafe} {if $form.f.label2.errors}{$form.f.label2.fieldErrors}{/if}{$form.f.label2|unsafe} {if $form.f.label3.errors}{$form.f.label3.fieldErrors}{/if}{$form.f.label3|unsafe}
{if $form.f.label4.errors}{$form.f.label4.fieldErrors}{/if}{$form.f.label4|unsafe} {if $form.f.label5.errors}{$form.f.label5.fieldErrors}{/if}{$form.f.label5|unsafe} {if $form.f.label6.errors}{$form.f.label6.fieldErrors}{/if}{$form.f.label6|unsafe}
 {* float left is a fix for Firefox < 3.5 *} | {trans 'Cancel'} {trans 'Trash'} {trans 'Delete this file'}
{/if} {/block} {block context} {ashowuser 'submitter', $file.get_submitter(), $request}

{trans 'Uploaded:'} {$file.creation_dtime|dateago} {blocktrans}by {$submitter}{/blocktrans}

{if $file.modif_dtime != $file.creation_dtime}

{trans 'Updated:'} {$file.modif_dtime|dateago}

{/if}

{trans 'Downloads:'} {$file.downloads}

{if $tags.count()}

{trans 'Labels:'}
{foreach $tags as $tag}{aurl 'url', 'IDF_Views_Download::listLabel', array($project.shortname, $tag.id)} {$tag.class}:{$tag.name}
{/foreach}

{/if} {/block} {block javascript}{if $form} {include 'idf/downloads/js-autocomplete.html'}{/if}{/block}