Neither the logo fields / controls nor the external project url
field is mandatory, so don't render it bold.
This commit is contained in:
parent
95faf0468a
commit
4d7d99c0bb
@ -25,7 +25,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th><strong>{$form.f.external_project_url.labelTag}:</strong></th>
|
<th>{$form.f.external_project_url.labelTag}:</th>
|
||||||
<td>{if $form.f.external_project_url.errors}{$form.f.external_project_url.fieldErrors}{/if}
|
<td>{if $form.f.external_project_url.errors}{$form.f.external_project_url.fieldErrors}{/if}
|
||||||
{$form.f.external_project_url|unsafe}
|
{$form.f.external_project_url|unsafe}
|
||||||
</td>
|
</td>
|
||||||
@ -48,7 +48,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th><strong>{trans 'Current logo'}:</strong></th>
|
<th>{trans 'Current logo'}:</th>
|
||||||
<td>
|
<td>
|
||||||
{if $logo}
|
{if $logo}
|
||||||
<img src="{url 'IDF_Views_Project::logo', array($project.shortname)}" alt="{trans 'Project logo'}" />
|
<img src="{url 'IDF_Views_Project::logo', array($project.shortname)}" alt="{trans 'Project logo'}" />
|
||||||
@ -58,14 +58,14 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th><strong>{$form.f.logo.labelTag}:</strong></th>
|
<th>{$form.f.logo.labelTag}:</th>
|
||||||
<td>{if $form.f.logo.errors}{$form.f.logo.fieldErrors}{/if}
|
<td>{if $form.f.logo.errors}{$form.f.logo.fieldErrors}{/if}
|
||||||
{$form.f.logo|unsafe}
|
{$form.f.logo|unsafe}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{if $logo}
|
{if $logo}
|
||||||
<tr>
|
<tr>
|
||||||
<th><strong>{$form.f.logo_remove.labelTag}:</strong></th>
|
<th>{$form.f.logo_remove.labelTag}:</th>
|
||||||
<td>{if $form.f.logo_remove.errors}{$form.f.logo_remove.fieldErrors}{/if}
|
<td>{if $form.f.logo_remove.errors}{$form.f.logo_remove.fieldErrors}{/if}
|
||||||
{$form.f.logo_remove|unsafe}
|
{$form.f.logo_remove|unsafe}
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user