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.
dev
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

@ -167,6 +167,7 @@ class IDF_Views_Admin
} }
return Pluf_Shortcuts_RenderToResponse('idf/gadmin/projects/delete.html', return Pluf_Shortcuts_RenderToResponse('idf/gadmin/projects/delete.html',
array( array(
'project' => $project,
'page_title' => $title, 'page_title' => $title,
'form' => $form, 'form' => $form,
'stats' => $project->getStats(), 'stats' => $project->getStats(),

View File

@ -2,8 +2,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: InDefero\n" "Project-Id-Version: InDefero\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-02-27 10:51+0100\n" "POT-Creation-Date: 2009-02-27 11:09+0100\n"
"PO-Revision-Date: 2009-02-27 10:58+0100\n" "PO-Revision-Date: 2009-02-27 11:10+0100\n"
"Last-Translator: Loïc d'Anterroches <titoo@users.sourceforge.net>\n" "Last-Translator: Loïc d'Anterroches <titoo@users.sourceforge.net>\n"
"Language-Team: Translation team <titoo@users.sourceforge.net>\n" "Language-Team: Translation team <titoo@users.sourceforge.net>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -576,6 +576,7 @@ msgstr "Suppression de la vieille version de %s"
#: IDF/Views/Wiki.php:316 #: IDF/Views/Wiki.php:316
#: IDF/Views/Admin.php:90 #: IDF/Views/Admin.php:90
#: IDF/Views/Admin.php:241 #: IDF/Views/Admin.php:241
#: IDF/Views/Admin.php:242
#, php-format #, php-format
msgid "Update %s" msgid "Update %s"
msgstr "Mise à jour de %s" msgstr "Mise à jour de %s"
@ -1042,6 +1043,7 @@ msgstr "Nom court"
#: IDF/Views/Admin.php:202 #: IDF/Views/Admin.php:202
#: IDF/Form/Admin/ProjectCreate.php:48 #: IDF/Form/Admin/ProjectCreate.php:48
#: IDF/Form/Admin/ProjectUpdate.php:42 #: IDF/Form/Admin/ProjectUpdate.php:42
#: IDF/Views/Admin.php:203
msgid "Name" msgid "Name"
msgstr "Nom" msgstr "Nom"
@ -1070,58 +1072,71 @@ msgid "The project has been deleted."
msgstr "Le projet a été supprimé." msgstr "Le projet a été supprimé."
#: IDF/Views/Admin.php:190 #: IDF/Views/Admin.php:190
#: IDF/Views/Admin.php:191
msgid "Not Validated User List" msgid "Not Validated User List"
msgstr "Liste des utilisateurs non confirmés" msgstr "Liste des utilisateurs non confirmés"
#: IDF/Views/Admin.php:193 #: IDF/Views/Admin.php:193
#: IDF/gettexttemplates/idf/gadmin/users/base.html.php:3 #: IDF/gettexttemplates/idf/gadmin/users/base.html.php:3
#: IDF/Views/Admin.php:194
msgid "User List" msgid "User List"
msgstr "Liste des utilisateurs" msgstr "Liste des utilisateurs"
#: IDF/Views/Admin.php:196 #: IDF/Views/Admin.php:196
#: IDF/Views/Admin.php:197
msgid "This table shows the users in the forge." msgid "This table shows the users in the forge."
msgstr "Ce tableau montre les utilisateurs de la forge." msgstr "Ce tableau montre les utilisateurs de la forge."
#: IDF/Views/Admin.php:201 #: IDF/Views/Admin.php:201
#: IDF/Views/Admin.php:202
msgid "login" msgid "login"
msgstr "identifiant" msgstr "identifiant"
#: IDF/Views/Admin.php:203 #: IDF/Views/Admin.php:203
#: IDF/Form/Admin/UserUpdate.php:99 #: IDF/Form/Admin/UserUpdate.php:99
#: IDF/Views/Admin.php:204
msgid "Staff" msgid "Staff"
msgstr "Staff" msgstr "Staff"
#: IDF/Views/Admin.php:204 #: IDF/Views/Admin.php:204
#: IDF/Views/Admin.php:205
msgid "Admin" msgid "Admin"
msgstr "Admin" msgstr "Admin"
#: IDF/Views/Admin.php:205 #: IDF/Views/Admin.php:205
#: IDF/Form/Admin/UserUpdate.php:110 #: IDF/Form/Admin/UserUpdate.php:110
#: IDF/Views/Admin.php:206
msgid "Active" msgid "Active"
msgstr "Actif" msgstr "Actif"
#: IDF/Views/Admin.php:206 #: IDF/Views/Admin.php:206
#: IDF/Views/Admin.php:207
msgid "Last Login" msgid "Last Login"
msgstr "Dernier login" msgstr "Dernier login"
#: IDF/Views/Admin.php:211 #: IDF/Views/Admin.php:211
#: IDF/Views/Admin.php:212
msgid "No users were found." msgid "No users were found."
msgstr "Aucun utilisateur trouvé." msgstr "Aucun utilisateur trouvé."
#: IDF/Views/Admin.php:248 #: IDF/Views/Admin.php:248
#: IDF/Views/Admin.php:249
msgid "You do not have the rights to update this user." msgid "You do not have the rights to update this user."
msgstr "Vous n'avez pas les droits pour mettre à jour cet utilisateur." msgstr "Vous n'avez pas les droits pour mettre à jour cet utilisateur."
#: IDF/Views/Admin.php:264 #: IDF/Views/Admin.php:264
#: IDF/Views/Admin.php:265
msgid "The user has been updated." msgid "The user has been updated."
msgstr "L'utilisateur a été mis à jour." msgstr "L'utilisateur a été mis à jour."
#: IDF/Views/Admin.php:283 #: IDF/Views/Admin.php:283
#: IDF/gettexttemplates/idf/login_form.html.php:7 #: IDF/gettexttemplates/idf/login_form.html.php:7
#: IDF/Views/Admin.php:284
msgid "Yes" msgid "Yes"
msgstr "Oui" msgstr "Oui"
#: IDF/Views/Admin.php:283 #: IDF/Views/Admin.php:283
#: IDF/Views/Admin.php:284
msgid "No" msgid "No"
msgstr "Non" msgstr "Non"
@ -3439,3 +3454,7 @@ msgstr "Moi"
msgid "Create this documentation page" msgid "Create this documentation page"
msgstr "Créer cette page de documentation" msgstr "Créer cette page de documentation"
#: IDF/gettexttemplates/idf/gadmin/projects/base.html.php:5
msgid "Change Project Details"
msgstr "Changer les détails du projet"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-02-27 10:51+0100\n" "POT-Creation-Date: 2009-02-27 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -512,6 +512,7 @@ msgid "Delete Old Revision of %s"
msgstr "" msgstr ""
#: IDF/Views/Wiki.php:316 IDF/Views/Admin.php:90 IDF/Views/Admin.php:241 #: IDF/Views/Wiki.php:316 IDF/Views/Admin.php:90 IDF/Views/Admin.php:241
#: IDF/Views/Admin.php:242
#, php-format #, php-format
msgid "Update %s" msgid "Update %s"
msgstr "" msgstr ""
@ -944,6 +945,7 @@ msgstr ""
#: IDF/Views/Admin.php:66 IDF/Views/Admin.php:202 #: IDF/Views/Admin.php:66 IDF/Views/Admin.php:202
#: IDF/Form/Admin/ProjectCreate.php:48 IDF/Form/Admin/ProjectUpdate.php:42 #: IDF/Form/Admin/ProjectCreate.php:48 IDF/Form/Admin/ProjectUpdate.php:42
#: IDF/Views/Admin.php:203
msgid "Name" msgid "Name"
msgstr "" msgstr ""
@ -971,56 +973,60 @@ msgstr ""
msgid "The project has been deleted." msgid "The project has been deleted."
msgstr "" msgstr ""
#: IDF/Views/Admin.php:190 #: IDF/Views/Admin.php:190 IDF/Views/Admin.php:191
msgid "Not Validated User List" msgid "Not Validated User List"
msgstr "" msgstr ""
#: IDF/Views/Admin.php:193 #: IDF/Views/Admin.php:193
#: IDF/gettexttemplates/idf/gadmin/users/base.html.php:3 #: IDF/gettexttemplates/idf/gadmin/users/base.html.php:3
#: IDF/Views/Admin.php:194
msgid "User List" msgid "User List"
msgstr "" msgstr ""
#: IDF/Views/Admin.php:196 #: IDF/Views/Admin.php:196 IDF/Views/Admin.php:197
msgid "This table shows the users in the forge." msgid "This table shows the users in the forge."
msgstr "" msgstr ""
#: IDF/Views/Admin.php:201 #: IDF/Views/Admin.php:201 IDF/Views/Admin.php:202
msgid "login" msgid "login"
msgstr "" msgstr ""
#: IDF/Views/Admin.php:203 IDF/Form/Admin/UserUpdate.php:99 #: IDF/Views/Admin.php:203 IDF/Form/Admin/UserUpdate.php:99
#: IDF/Views/Admin.php:204
msgid "Staff" msgid "Staff"
msgstr "" msgstr ""
#: IDF/Views/Admin.php:204 #: IDF/Views/Admin.php:204 IDF/Views/Admin.php:205
msgid "Admin" msgid "Admin"
msgstr "" msgstr ""
#: IDF/Views/Admin.php:205 IDF/Form/Admin/UserUpdate.php:110 #: IDF/Views/Admin.php:205 IDF/Form/Admin/UserUpdate.php:110
#: IDF/Views/Admin.php:206
msgid "Active" msgid "Active"
msgstr "" msgstr ""
#: IDF/Views/Admin.php:206 #: IDF/Views/Admin.php:206 IDF/Views/Admin.php:207
msgid "Last Login" msgid "Last Login"
msgstr "" msgstr ""
#: IDF/Views/Admin.php:211 #: IDF/Views/Admin.php:211 IDF/Views/Admin.php:212
msgid "No users were found." msgid "No users were found."
msgstr "" msgstr ""
#: IDF/Views/Admin.php:248 #: IDF/Views/Admin.php:248 IDF/Views/Admin.php:249
msgid "You do not have the rights to update this user." msgid "You do not have the rights to update this user."
msgstr "" msgstr ""
#: IDF/Views/Admin.php:264 #: IDF/Views/Admin.php:264 IDF/Views/Admin.php:265
msgid "The user has been updated." msgid "The user has been updated."
msgstr "" msgstr ""
#: IDF/Views/Admin.php:283 IDF/gettexttemplates/idf/login_form.html.php:7 #: IDF/Views/Admin.php:283 IDF/gettexttemplates/idf/login_form.html.php:7
#: IDF/Views/Admin.php:284
msgid "Yes" msgid "Yes"
msgstr "" msgstr ""
#: IDF/Views/Admin.php:283 #: IDF/Views/Admin.php:283 IDF/Views/Admin.php:284
msgid "No" msgid "No"
msgstr "" msgstr ""
@ -3302,3 +3308,7 @@ msgstr ""
#: IDF/Template/Markdown.php:61 #: IDF/Template/Markdown.php:61
msgid "Create this documentation page" msgid "Create this documentation page"
msgstr "" msgstr ""
#: IDF/gettexttemplates/idf/gadmin/projects/base.html.php:5
msgid "Change Project Details"
msgstr ""

View File

@ -2,5 +2,5 @@
{block tabprojects} class="active"{/block} {block tabprojects} class="active"{/block}
{block subtabs} {block subtabs}
<a {if $inIndex}class="active" {/if}href="{url 'IDF_Views_Admin::projects'}">{trans 'Project List'}</a> | <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} {/block}

View File

@ -51,7 +51,7 @@
<td>&nbsp;</td> <td>&nbsp;</td>
<td> <td>
<input type="submit" value="{trans 'Delete Project'}" name="submit" /> <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} <span class="helptext">{trans 'For large projects, the suppression can take a while, please be patient.'}</span>{/if}
</td> </td>
</tr> </tr>