Added longer description for the downloads.

This commit is contained in:
Loic d'Anterroches
2009-06-22 21:08:33 +02:00
parent 0873d44162
commit 3848bd8d22
10 changed files with 535 additions and 298 deletions

View File

@@ -6,7 +6,11 @@
{if $deprecated}<p class="smaller">{blocktrans}<strong>Attention!</strong> This file is marked as deprecated, download it only if you are sure you need this specific version.{/blocktrans}</p>{/if}
<a href="{url 'IDF_Views_Download::download', array($project.shortname, $file.id)}">{$file}</a> - {$file.filesize|size}
</div>
{if $file.changelog}
<h2 class="changes">{trans 'Changes'}</h2>
{markdown $file.changelog, $request}
{/if}
{if $form}
{if $form.errors}
@@ -19,7 +23,7 @@
{/if}
<form method="post" enctype="multipart/form-data" action=".">
<table class="form" summary="">
<table class="form download" summary="">
<tr>
<th><strong>{$form.f.summary.labelTag}:</strong></th>
<td>{if $form.f.summary.errors}{$form.f.summary.fieldErrors}{/if}
@@ -27,6 +31,12 @@
</td>
</tr>
<tr>
<th>{$form.f.changelog.labelTag}:</th>
<td>{if $form.f.changelog.errors}{$form.f.changelog.fieldErrors}{/if}
{$form.f.changelog|unsafe}
</td>
</tr>
<tr>
<th>{$form.f.label1.labelTag}:</th>
<td>
{if $form.f.label1.errors}{$form.f.label1.fieldErrors}{/if}{$form.f.label1|unsafe}