Fixed last part of issue 105, update the details of a project.

From the forge administration part of a project, you now have a direct link to the project administration
tab.
This commit is contained in:
Loic d'Anterroches
2009-02-27 11:10:26 +01:00
parent 0b465c750b
commit e40485c56f
5 changed files with 44 additions and 14 deletions

View File

@@ -2,5 +2,5 @@
{block tabprojects} class="active"{/block}
{block subtabs}
<a {if $inIndex}class="active" {/if}href="{url 'IDF_Views_Admin::projects'}">{trans 'Project List'}</a> |
<a {if $inCreate}class="active" {/if}href="{url 'IDF_Views_Admin::projectCreate'}">{trans 'Create Project'}</a>
<a {if $inCreate}class="active" {/if}href="{url 'IDF_Views_Admin::projectCreate'}">{trans 'Create Project'}</a> {if $project} | <a href="{url 'IDF_Views_Project::admin', array($project.shortname)}">{trans 'Change Project Details'}</a>{/if}
{/block}

View File

@@ -51,7 +51,7 @@
<td>&nbsp;</td>
<td>
<input type="submit" value="{trans 'Delete Project'}" name="submit" />
| <a href="{url 'IDF_Views_Admin::projects'}">{trans 'Cancel'}</a>{if $stats['total'] > 200}<br />
| <a href="{url 'IDF_Views_Admin::projectUpdate', array($project.id)}">{trans 'Cancel'}</a>{if $stats['total'] > 200}<br />
<span class="helptext">{trans 'For large projects, the suppression can take a while, please be patient.'}</span>{/if}
</td>
</tr>