Fixed issue 105 point 2, added deletion of a project.

Note that the source code is not deleted at the moment.
This commit is contained in:
Loic d'Anterroches
2009-02-27 10:42:18 +01:00
parent f986184254
commit 7f4f14e78d
7 changed files with 257 additions and 2 deletions

View File

@@ -34,9 +34,10 @@
</tr>
<tr>
<td>&nbsp;</td>
<td>
<td> {aurl 'url', 'IDF_Views_Admin::projectDelete', array($project.id)}
<input type="submit" value="{trans 'Update Project'}" name="submit" />
| <a href="{url 'IDF_Views_Admin::projects'}">{trans 'Cancel'}</a>
| <a href="{url 'IDF_Views_Admin::projects'}">{trans 'Cancel'}</a> {if $isAdmin}
<span class="dellink"><a href="{$url}" title="{trans 'Delete this project'}"><img src="{media '/idf/img/trash.png'}" style="vertical-align: text-bottom;" alt="{trans 'Trash'}" /></a> <a href="{$url}" title="{trans 'Delete this project'}">{trans 'Delete this project'}</a><br /><span class="note helptext">{trans 'You will be ask to confirm.'}</span></span>{/if}
</td>
</tr>
</table>