2008-11-18 08:15:02 +00:00
|
|
|
{extends "idf/admin/base.html"}
|
2008-07-25 08:26:05 +00:00
|
|
|
{block docclass}yui-t1{assign $inSummary = true}{/block}
|
|
|
|
{block body}
|
|
|
|
{if $form.errors}
|
|
|
|
<div class="px-message-error">
|
|
|
|
<p>{trans 'The form contains some errors. Please correct them to update the summary.'}</p>
|
|
|
|
{if $form.get_top_errors}
|
|
|
|
{$form.render_top_errors|unsafe}
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
{/if}
|
2011-04-01 12:17:56 +00:00
|
|
|
<form method="post" enctype="multipart/form-data" action=".">
|
2008-07-25 08:26:05 +00:00
|
|
|
<table class="form" summary="">
|
|
|
|
<tr>
|
|
|
|
<th><strong>{$form.f.name.labelTag}:</strong></th>
|
|
|
|
<td>{if $form.f.name.errors}{$form.f.name.fieldErrors}{/if}
|
|
|
|
{$form.f.name|unsafe}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2008-12-02 12:22:01 +00:00
|
|
|
<th><strong>{$form.f.shortdesc.labelTag}:</strong></th>
|
|
|
|
<td>{if $form.f.shortdesc.errors}{$form.f.shortdesc.fieldErrors}{/if}
|
|
|
|
{$form.f.shortdesc|unsafe}<br />
|
|
|
|
<span class="helptext">{$form.f.shortdesc.help_text}</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2008-07-25 08:26:05 +00:00
|
|
|
<th><strong>{$form.f.description.labelTag}:</strong></th>
|
|
|
|
<td>{if $form.f.description.errors}{$form.f.description.fieldErrors}{/if}
|
|
|
|
{$form.f.description|unsafe}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2011-04-01 12:17:56 +00:00
|
|
|
<tr>
|
2011-04-06 13:33:26 +00:00
|
|
|
<th><strong>{trans 'Current logo'}:</strong></th>
|
2011-04-01 12:17:56 +00:00
|
|
|
<td>
|
2011-04-01 14:05:32 +00:00
|
|
|
{if $logo}
|
2011-04-06 13:33:26 +00:00
|
|
|
<img src="{url 'IDF_Views_Project::logo', array($project.shortname)}" alt="{trans 'project logo'}" />
|
2011-04-01 12:17:56 +00:00
|
|
|
{else}
|
2011-04-07 20:40:32 +00:00
|
|
|
{trans 'Your project does not have a logo configured yet.'}
|
2011-04-01 12:17:56 +00:00
|
|
|
{/if}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th><strong>{$form.f.logo.labelTag}:</strong></th>
|
|
|
|
<td>{if $form.f.logo.errors}{$form.f.logo.fieldErrors}{/if}
|
|
|
|
{$form.f.logo|unsafe}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2011-04-01 14:05:32 +00:00
|
|
|
{if $logo}
|
2011-04-01 12:17:56 +00:00
|
|
|
<tr>
|
|
|
|
<th><strong>{$form.f.logo_remove.labelTag}:</strong></th>
|
|
|
|
<td>{if $form.f.logo_remove.errors}{$form.f.logo_remove.fieldErrors}{/if}
|
|
|
|
{$form.f.logo_remove|unsafe}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{/if}
|
2008-07-25 08:26:05 +00:00
|
|
|
<tr><td> </td>
|
|
|
|
<td>
|
|
|
|
<input type="submit" name="submit" value="{trans 'Save Changes'}" />
|
|
|
|
</td>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block context}
|
|
|
|
<div class="issue-submit-info">
|
|
|
|
{assign $url = 'http://daringfireball.net/projects/markdown/syntax'}
|
|
|
|
{blocktrans}
|
|
|
|
<p><strong>Instructions:</strong></p>
|
|
|
|
<p>The description of the project can be improved using the <a href="{$url}">Markdown syntax</a>.</p>
|
|
|
|
{/blocktrans}
|
|
|
|
</div>
|
|
|
|
{/block}
|