Index: openacs-4/packages/project-manager/catalog/project-manager.de_DE.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/catalog/project-manager.de_DE.ISO-8859-1.xml,v diff -u -r1.8 -r1.9 --- openacs-4/packages/project-manager/catalog/project-manager.de_DE.ISO-8859-1.xml 15 Aug 2005 08:22:32 -0000 1.8 +++ openacs-4/packages/project-manager/catalog/project-manager.de_DE.ISO-8859-1.xml 15 Aug 2005 10:00:20 -0000 1.9 @@ -21,7 +21,7 @@ Schlie�en Projekt schlie�en Abgeschlossen - Code: + Jobnummer: Kommentar: Kommentare Fertig: @@ -64,7 +64,7 @@ Sp�testes Ende Sp�tester Start Sp�tester Start - Lead + Verantwortlicher LF Aufgabe verbinden: Log @@ -82,9 +82,9 @@ %project.actual_hours_completed% von %project.estimated_hours_total% e-Mail an Beteiligte schicken? Von den Aufgabenzuteilungen aus zuteilen - %project_term%code + %project_term%nummer %project_term%ziel - %project_term%name + %project_term%ID Auf 100 setzen, um diese Aufgabe zu schlie�en. %task_term%n die von dieser %task_term% abh�ngen %task_term%n von denen diese Aufgabe abh�ngt. @@ -93,7 +93,7 @@ Max: Min: n/a - Name: + Job ID: Neues %project_term% Neue %task_term% Nein @@ -102,11 +102,11 @@ Offen % komplett Nur Text - Player + Bearbeiter Priorit�t: Priorit�t Prozesse - Projekt + Job Projekt Laufendes Projekt? Names des Projekts Index: openacs-4/packages/project-manager/catalog/project-manager.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/catalog/project-manager.en_US.ISO-8859-1.xml,v diff -u -r1.20 -r1.21 --- openacs-4/packages/project-manager/catalog/project-manager.en_US.ISO-8859-1.xml 15 Aug 2005 08:22:32 -0000 1.20 +++ openacs-4/packages/project-manager/catalog/project-manager.en_US.ISO-8859-1.xml 15 Aug 2005 10:00:20 -0000 1.21 @@ -556,12 +556,14 @@ View View all tasks View customers + View only tasks where you are an observer View options View project changes View Revisions View task changes View this revision View this task + View Watcher tasks Watcher Who Work Index: openacs-4/packages/project-manager/lib/project-portlet.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/project-portlet.adp,v diff -u -r1.10 -r1.11 --- openacs-4/packages/project-manager/lib/project-portlet.adp 15 Aug 2005 08:22:59 -0000 1.10 +++ openacs-4/packages/project-manager/lib/project-portlet.adp 15 Aug 2005 10:00:20 -0000 1.11 @@ -1,18 +1,6 @@ - - - #acs-kernel.common_Edit# - - - - - #project-manager.Set_permissions# - - - -   @project_term@ @project.project_name@ + @write_html;noquote@  @project_term@ @project.project_name@ Index: openacs-4/packages/project-manager/lib/project-portlet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/project-portlet.tcl,v diff -u -r1.11 -r1.12 --- openacs-4/packages/project-manager/lib/project-portlet.tcl 15 Aug 2005 08:22:59 -0000 1.11 +++ openacs-4/packages/project-manager/lib/project-portlet.tcl 15 Aug 2005 10:00:20 -0000 1.12 @@ -85,3 +85,22 @@ set project_links "" callback pm::project_links -project_id $project_item_id + +# Admin Link + +set write_html "" +if {$project(write_p) == "t"} { + append write_html " + + \"#acs-kernel.common_Edit#\" + " +} + +if {$project(create_p) == "t"} { + append write_html " + \"#project-manager.Set_permissions#\" + + " +} + Index: openacs-4/packages/project-manager/lib/tasks.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/tasks.tcl,v diff -u -r1.13 -r1.14 --- openacs-4/packages/project-manager/lib/tasks.tcl 11 Aug 2005 17:07:24 -0000 1.13 +++ openacs-4/packages/project-manager/lib/tasks.tcl 15 Aug 2005 10:00:20 -0000 1.14 @@ -66,9 +66,9 @@ set days_string "hours" } -set exporting_vars {status_id party_id orderby} +set exporting_vars {status_id party_id orderby page_num} set hidden_vars [export_vars \ - -form $exporting_vars] + -no_empty -form $exporting_vars] # how to get back here @@ -158,6 +158,15 @@ ] \ ] +# Setup the actions, so we can append the rest later on +if {$actions_p == 1} { + set actions [list "[_ project-manager.Add_task]" [export_vars \ + -base "${base_url}task-select-project" {return_url}] "[_ project-manager.Add_a_task]"] +} else { + set actions [list] +} + + foreach element $elements { # Special treatement for days / hours @@ -169,7 +178,6 @@ set element "actual_${days_string}_worked" } - # We need to filter by the user if a party_id is given if {[exists_and_not_null party_id]} { set party_where_clause "and t.party_id = :party_id" @@ -225,13 +233,6 @@ set bulk_action_export_vars [list] } -if {$actions_p == 1} { -# set actions [list "[_ project-manager.Add_task]" [export_vars \ - -base "${base_url}task-select-project" {return_url}] "[_ project-manager.Add_a_task]"] -} else { -# set actions [list "[_ project-manager.Watcher]" [export_vars -base "[ad_conn url]" {{watcher_p 1} page_num}] "[_ project_manager.Watcher]"] -} - template::list::create \ -name tasks \ -multirow tasks \ Index: openacs-4/packages/project-manager/templates/project-one.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/templates/project-one.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/project-manager/templates/project-one.adp 11 Aug 2005 21:08:35 -0000 1.4 +++ openacs-4/packages/project-manager/templates/project-one.adp 15 Aug 2005 10:00:20 -0000 1.5 @@ -1,5 +1,4 @@ - @my_title;noquote@ -- #project-manager.Closed# @@ -11,27 +10,19 @@

#project-manager.lt_not_current_set_live#

+ -

+

-

-

- -

- -

-
\ No newline at end of file