Index: openacs-4/packages/recruiting/www/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/index.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/recruiting/www/index.adp 7 Aug 2002 23:39:19 -0000 1.2 +++ openacs-4/packages/recruiting/www/index.adp 9 Aug 2002 20:30:51 -0000 1.3 @@ -1,4 +1,6 @@ @context_bar@ -<%= [table::outputTable summary] %> +<%= [ui::table::output_table summary] %> + + Index: openacs-4/packages/recruiting/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/index.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/recruiting/www/index.tcl 7 Aug 2002 23:39:19 -0000 1.2 +++ openacs-4/packages/recruiting/www/index.tcl 9 Aug 2002 20:30:51 -0000 1.3 @@ -12,16 +12,19 @@ set new_interviews [db_string num_new_interviews {}] set old_interviews [db_string num_old_interviews {}] -table::setTitle summary "Your Recruiting Summary" +ui::table::set_title summary "Your Recruiting Summary" if {$new_interviews} { - table::addUnsortedRow summary [list "You have $new_interviews new interviews to complete."] + ui::table::add_unsorted_row summary [list "You have $new_interviews new interviews to complete."] } else { - table::addUnsortedRow summary [list "You don't have any new interviews to complete."] + ui::table::add_unsorted_row summary [list "You don't have any new interviews to complete."] } if {$old_interviews} { - table::addUnsortedRow summary [list "You may view your $old_interviews completed interviews."] + ui::table::add_unsorted_row summary [list "You may view your $old_interviews completed interviews."] } set context_bar [list "Recruiting"] + + + Index: openacs-4/packages/recruiting/www/my-completed-interviews.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/my-completed-interviews.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/my-completed-interviews.adp 1 Aug 2002 21:18:09 -0000 1.1 +++ openacs-4/packages/recruiting/www/my-completed-interviews.adp 9 Aug 2002 20:30:51 -0000 1.2 @@ -1,4 +1,6 @@ @context_bar@ -<%= [table::outputTable interviews] %> +<%= [ui::table::output_table interviews] %> + + Index: openacs-4/packages/recruiting/www/my-completed-interviews.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/my-completed-interviews.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/recruiting/www/my-completed-interviews.tcl 2 Aug 2002 18:53:56 -0000 1.3 +++ openacs-4/packages/recruiting/www/my-completed-interviews.tcl 9 Aug 2002 20:30:51 -0000 1.4 @@ -10,19 +10,24 @@ set package_id [ad_conn package_id] set user_id [ad_verify_and_get_user_id] -table::setTitle interviews "Candidates you have interviewed" -table::setColumnHeadings interviews [list "Name" "Location" "Average Rating" "Hiring Recommendation"] -table::setColumnAlignment interviews [list left left center center] +ui::table::set_title interviews "Candidates you have interviewed" +ui::table::set_column_headings interviews [list "Name" "Location" "Average Rating" "Hiring Recommendation"] +ui::table::set_column_alignment interviews [list left left center center] db_foreach my_completed_interviews {} { - table::addSortableRow interviews [list "$last_name, $first_name" \ + ui::table::add_sortable_row interviews [list "$last_name, $first_name" \ "$location
Home: [recruiting_candidate::format_phone -phone_number $home_phone]
Mobile: [recruiting_candidate::format_phone -phone_number $cell_phone]" \ "$average_rating" \ "$should_hire_p" \ "(view my ratings) (modify interview)"] } if_no_rows { - table::addSortableRow interviews [list "You haven't interviewed any candidates."] + ui::table::add_sortable_row interviews [list "You haven't interviewed any candidates."] } set context_bar [list [list "index" "Recruiting"] "My Completed Interviews"] ad_return_template + + + + + Index: openacs-4/packages/recruiting/www/my-new-interviews.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/my-new-interviews.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/my-new-interviews.adp 1 Aug 2002 21:18:09 -0000 1.1 +++ openacs-4/packages/recruiting/www/my-new-interviews.adp 9 Aug 2002 20:30:51 -0000 1.2 @@ -1,4 +1,6 @@ @context_bar@ -<%= [table::outputTable interviews] %> +<%= [ui::table::output_table interviews] %> + + Index: openacs-4/packages/recruiting/www/my-new-interviews.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/my-new-interviews.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/recruiting/www/my-new-interviews.tcl 2 Aug 2002 18:53:56 -0000 1.2 +++ openacs-4/packages/recruiting/www/my-new-interviews.tcl 9 Aug 2002 20:30:51 -0000 1.3 @@ -10,16 +10,20 @@ set package_id [ad_conn package_id] set user_id [ad_verify_and_get_user_id] -table::setTitle interviews "Candidates for you to interview" -table::setColumnHeadings interviews [list "Name" "Location"] +ui::table::set_title interviews "Candidates for you to interview" +ui::table::set_column_headings interviews [list "Name" "Location"] db_foreach my_new_interviews {} { - table::addSortableRow interviews [list "$last_name, $first_name" \ + ui::table::add_sortable_row interviews [list "$last_name, $first_name" \ "$location
Home: [recruiting_candidate::format_phone -phone_number $home_phone]
Mobile: [recruiting_candidate::format_phone -phone_number $cell_phone]" \ "(rate this candidate)"] } if_no_rows { - table::addSortableRow interviews [list "You don't have any candidates to interview right now."] + ui::table::add_sortable_row interviews [list "You don't have any candidates to interview right now."] } set context_bar [list [list "index" "Recruiting"] "My New Interviews"] ad_return_template + + + + Index: openacs-4/packages/recruiting/www/rating-sheet.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/rating-sheet.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/recruiting/www/rating-sheet.adp 2 Aug 2002 16:48:26 -0000 1.2 +++ openacs-4/packages/recruiting/www/rating-sheet.adp 9 Aug 2002 20:30:51 -0000 1.3 @@ -3,10 +3,12 @@
-<%= [table::outputTable ratings] %> +<%= [ui::table::output_table ratings] %>

-<%= [table::outputTable comments] %> +<%= [ui::table::output_table comments] %>

-<%= [table::outputTable summary] %> +<%= [ui::table::output_table summary] %>
+ + Index: openacs-4/packages/recruiting/www/rating-sheet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/rating-sheet.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/recruiting/www/rating-sheet.tcl 2 Aug 2002 16:48:26 -0000 1.2 +++ openacs-4/packages/recruiting/www/rating-sheet.tcl 9 Aug 2002 20:30:51 -0000 1.3 @@ -23,27 +23,34 @@ set interviewer_id $interview_info(interviewer_id) set candidate_id $interview_info(candidate_id) -table::setTitle ratings "Your ratings for $candidate_info(first_name) $candidate_info(last_name)" -table::setColumnHeadings ratings [list "Criteria" "Rating"] -table::setColumnAlignment ratings [list left center] -table::setExportVars ratings [export_vars interview_id] +ui::table::set_title ratings "Your ratings for $candidate_info(first_name) $candidate_info(last_name)" +ui::table::set_column_headings ratings [list "Criteria" "Rating"] +ui::table::set_column_alignment ratings [list left center] +ui::table::set_export_vars ratings [export_vars interview_id] db_foreach get_ratings {} { - table::addSortableRow ratings [list "$criteria_name
$description" "$rating"] + ui::table::add_sortable_row ratings [list "$criteria_name
$description" "$rating"] } if_no_rows { - table::addSortableRow ratings [list "You has not made any ratings for $candidate_info(first_name) $candidate_info(last_name)"] + ui::table::add_sortable_row ratings [list "You has not made any ratings for $candidate_info(first_name) $candidate_info(last_name)"] } -table::setTitle summary "Summary Info" -table::addUnsortedRow summary [list "Average rating:" [db_string get_average_rating {}]] -table::addUnsortedRow summary [list "Hiring suggestion:" [db_string get_should_hire_p {}]] +ui::table::set_title summary "Summary Info" +ui::table::add_unsorted_row summary [list "Average rating:" [db_string get_average_rating {}]] +ui::table::add_unsorted_row summary [list "Hiring suggestion:" [db_string get_should_hire_p {}]] -table::setTitle comments "Comments" -table::addUnsortedRow comments [list $interview_info(comment)] +ui::table::set_title comments "Comments" +ui::table::add_unsorted_row comments [list $interview_info(comment)] set context_bar [list \ [list "index" "Recruiting"] \ [list "my-completed-interviews" "My Completed Interviews"] \ "Interview Ratings"] ad_return_template + + + + + + + Index: openacs-4/packages/recruiting/www/admin/archive-candidate.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/archive-candidate.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/archive-candidate.adp 7 Aug 2002 23:39:19 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/archive-candidate.adp 9 Aug 2002 20:30:51 -0000 1.2 @@ -1,5 +1,7 @@ @context_bar@ -<%= [table::outputTable archive] %> +<%= [ui::table::output_table archive] %> + + Index: openacs-4/packages/recruiting/www/admin/archive-candidate.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/archive-candidate.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/archive-candidate.tcl 7 Aug 2002 23:39:19 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/archive-candidate.tcl 9 Aug 2002 20:30:51 -0000 1.2 @@ -19,9 +19,9 @@ array set candidate_info [recruiting_candidate::get -candidate_id $candidate_id] - table::setTitle archive "Archiving $candidate_info(first_name) $candidate_info(last_name)" - table::setForm archive [ns_conn url] - table::addUnsortedRow archive [list "

Archiving a candidate will hide all their information from users of the system other than administrators such as yourself.
You will be able to unarchive the user at a later date if you so desire.

Are you sure you want to archive $candidate_info(first_name) $candidate_info(last_name)?.


[export_form_vars referrer candidate_id]

"] + ui::table::set_title archive "Archiving $candidate_info(first_name) $candidate_info(last_name)" + ui::table::set_form archive [ns_conn url] + ui::table::add_unsorted_row archive [list "

Archiving a candidate will hide all their information from users of the system other than administrators such as yourself.
You will be able to unarchive the user at a later date if you so desire.

Are you sure you want to archive $candidate_info(first_name) $candidate_info(last_name)?.


[export_form_vars referrer candidate_id]

"] set context_bar [list [list "../" "Recruiting"] [list "index" "Admin"] [list "list-candidates" "Candidates"] "Archive Candidate"] @@ -37,3 +37,7 @@ } } + + + + Index: openacs-4/packages/recruiting/www/admin/assign-candidate-interview.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/assign-candidate-interview.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/assign-candidate-interview.adp 31 Jul 2002 23:54:00 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/assign-candidate-interview.adp 9 Aug 2002 20:30:51 -0000 1.2 @@ -6,5 +6,7 @@ - <%= [table::outputTable search_results] %> + <%= [ui::table::output_table search_results] %> + + Index: openacs-4/packages/recruiting/www/admin/assign-candidate-interview.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/assign-candidate-interview.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/recruiting/www/admin/assign-candidate-interview.tcl 1 Aug 2002 21:18:09 -0000 1.2 +++ openacs-4/packages/recruiting/www/admin/assign-candidate-interview.tcl 9 Aug 2002 20:30:51 -0000 1.3 @@ -31,15 +31,18 @@ form get_values assign_interview \ search_text - table::setTitle search_results "Choose an interviewer" + ui::table::set_title search_results "Choose an interviewer" db_foreach select_users {} { - table::addSortableRow search_results [list "$last_name, $first_names ($email)"] + ui::table::add_sortable_row search_results [list "$last_name, $first_names ($email)"] } if_no_rows { - table::addSortableRow search_results [list "There were no users matching your criteria"] + ui::table::add_sortable_row search_results [list "There were no users matching your criteria"] } } set context_bar [list [list "../" "Recruiting"] [list "index" "Admin"] [list "list-candidates" "Candidates"] [list "view-one-candidate?[export_vars candidate_id]" "One Candidate"] "Assign Interview"] ad_return_template + + + Index: openacs-4/packages/recruiting/www/admin/delete-candidate.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/delete-candidate.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/delete-candidate.adp 2 Aug 2002 16:48:26 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/delete-candidate.adp 9 Aug 2002 20:30:51 -0000 1.2 @@ -1,5 +1,7 @@ @context_bar@ -<%= [table::outputTable delete] %> +<%= [ui::table::output_table delete] %> + + Index: openacs-4/packages/recruiting/www/admin/delete-candidate.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/delete-candidate.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/recruiting/www/admin/delete-candidate.tcl 7 Aug 2002 23:39:19 -0000 1.3 +++ openacs-4/packages/recruiting/www/admin/delete-candidate.tcl 9 Aug 2002 20:30:51 -0000 1.4 @@ -19,9 +19,9 @@ array set candidate_info [recruiting_candidate::get -candidate_id $candidate_id] - table::setTitle delete "Deleting $candidate_info(first_name) $candidate_info(last_name)" - table::setForm delete [ns_conn url] - table::addUnsortedRow delete [list "

This will completely remove this candidate and all their information from the system.
If instead all you want to do is make this candidate invisible, archive them instead.
Are you sure you want to delete $candidate_info(first_name) $candidate_info(last_name)?.


[export_form_vars referrer candidate_id]

"] + ui::table::set_title delete "Deleting $candidate_info(first_name) $candidate_info(last_name)" + ui::table::set_form delete [ns_conn url] + ui::table::add_unsorted_row delete [list "

This will completely remove this candidate and all their information from the system.
If instead all you want to do is make this candidate invisible, archive them instead.
Are you sure you want to delete $candidate_info(first_name) $candidate_info(last_name)?.


[export_form_vars referrer candidate_id]

"] set context_bar [list [list "../" "Recruiting"] [list "index" "Admin"] [list "list-candidates" "Candidates"] "Delete Candidate"] @@ -37,3 +37,7 @@ } } + + + + Index: openacs-4/packages/recruiting/www/admin/delete-interview.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/delete-interview.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/delete-interview.adp 2 Aug 2002 18:53:56 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/delete-interview.adp 9 Aug 2002 20:30:51 -0000 1.2 @@ -1,5 +1,7 @@ @context_bar@ -<%= [table::outputTable delete] %> +<%= [ui::table::output_table delete] %> + + Index: openacs-4/packages/recruiting/www/admin/delete-interview.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/delete-interview.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/delete-interview.tcl 2 Aug 2002 18:53:56 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/delete-interview.tcl 9 Aug 2002 20:30:51 -0000 1.2 @@ -21,9 +21,9 @@ array set candidate_info [recruiting_candidate::get -candidate_id $candidate_id] array set interview_info [recruiting_interview::get -interview_id $interview_id] - table::setTitle delete "Deleting interview for $candidate_info(first_name) $candidate_info(last_name)" - table::setForm delete [ns_conn url] - table::addUnsortedRow delete [list "

Are you sure you want to delete $candidate_info(first_name) $candidate_info(last_name)'s interview?


[export_form_vars referrer candidate_id interview_id]
"] + ui::table::set_title delete "Deleting interview for $candidate_info(first_name) $candidate_info(last_name)" + ui::table::set_form delete [ns_conn url] + ui::table::add_unsorted_row delete [list "

Are you sure you want to delete $candidate_info(first_name) $candidate_info(last_name)'s interview?


[export_form_vars referrer candidate_id interview_id]
"] set context_bar [list [list "../" "Recruiting"] [list "index" "Admin"] [list "list-candidates" "Candidates"] [list "view-one-candidate?[export_vars candidate_id]" "One Candidate"] "Delete Interview"] @@ -37,3 +37,7 @@ ns_returnredirect [ns_urldecode $referrer] } + + + + Index: openacs-4/packages/recruiting/www/admin/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/index.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/recruiting/www/admin/index.adp 7 Aug 2002 23:39:19 -0000 1.4 +++ openacs-4/packages/recruiting/www/admin/index.adp 9 Aug 2002 20:30:51 -0000 1.5 @@ -2,7 +2,9 @@ @context_bar@
-<%= [table::outputTable summary] %> +<%= [ui::table::output_table summary] %> -<%= [table::outputTable setup] %> +<%= [ui::table::output_table setup] %>
+ + Index: openacs-4/packages/recruiting/www/admin/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/index.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/recruiting/www/admin/index.tcl 7 Aug 2002 23:39:19 -0000 1.3 +++ openacs-4/packages/recruiting/www/admin/index.tcl 9 Aug 2002 20:30:51 -0000 1.4 @@ -26,17 +26,20 @@ set criteria_msg "" } -table::setTitle setup "Setup" -table::addUnsortedRow setup [list "Candidate status types$status_types_msg"] -table::addUnsortedRow setup [list "Interview criteria$criteria_msg"] +ui::table::set_title setup "Setup" +ui::table::add_unsorted_row setup [list "Candidate status types$status_types_msg"] +ui::table::add_unsorted_row setup [list "Interview criteria$criteria_msg"] db_1row get_num_candidates {} db_1row get_pending_interviews {} db_1row get_num_archived_candidates {} -table::setTitle summary "Summary Information" -table::addUnsortedRow summary [list "Candidates: $num_candidates" "(candidate administration)"] -table::addUnsortedRow summary [list "Pending Interviews: $pending_interviews" "(view interviews)"] -table::addUnsortedRow summary [list "$num_archived_candidates candidates have been archived" "(view archived candidates)"] +ui::table::set_title summary "Summary Information" +ui::table::add_unsorted_row summary [list "Candidates: $num_candidates" "(candidate administration)"] +ui::table::add_unsorted_row summary [list "Pending Interviews: $pending_interviews" "(view interviews)"] +ui::table::add_unsorted_row summary [list "$num_archived_candidates candidates have been archived" "(view archived candidates)"] set context_bar [list [list "../" "Recruiting"] "Admin"] + + + Index: openacs-4/packages/recruiting/www/admin/list-archived-candidates.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/list-archived-candidates.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/list-archived-candidates.adp 7 Aug 2002 23:39:19 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/list-archived-candidates.adp 9 Aug 2002 20:30:51 -0000 1.2 @@ -1,5 +1,7 @@ @context_bar@ -<%= [table::outputTable archived] %> +<%= [ui::table::output_table archived] %> + + Index: openacs-4/packages/recruiting/www/admin/list-archived-candidates.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/list-archived-candidates.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/list-archived-candidates.tcl 7 Aug 2002 23:39:19 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/list-archived-candidates.tcl 9 Aug 2002 20:30:51 -0000 1.2 @@ -11,18 +11,22 @@ set package_id [ad_conn package_id] set user_id [ad_verify_and_get_user_id] -table::setTitle archived "Archived Candidates" -table::setColumnHeadings archived [list "Name" "Location" "Status"] +ui::table::set_title archived "Archived Candidates" +ui::table::set_column_headings archived [list "Name" "Location" "Status"] db_foreach get_archived_candidates {} { - table::addSortableRow archived [list "$candidate_name
($email)" \ + ui::table::add_sortable_row archived [list "$candidate_name
($email)" \ "$city, $state" \ "$status" \ "(unarchive)"] } if_no_rows { - table::addSortableRow archived [list "There are no archived candidates. You may go back to administration or view unarchived candidates."] + ui::table::add_sortable_row archived [list "There are no archived candidates. You may go back to administration or view unarchived candidates."] } set context_bar [list [list "../" "Recruiting"] [list "index" "Admin"] "Archived Candidates"] ad_return_template + + + + Index: openacs-4/packages/recruiting/www/admin/list-candidates.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/list-candidates.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/recruiting/www/admin/list-candidates.adp 31 Jul 2002 23:54:00 -0000 1.2 +++ openacs-4/packages/recruiting/www/admin/list-candidates.adp 9 Aug 2002 20:30:51 -0000 1.3 @@ -3,9 +3,11 @@
-<%= [table::outputTable candidates] %> +<%= [ui::table::output_table candidates] %> -<%= [table::outputTable options] %> +<%= [ui::table::output_table options] %>
+ + Index: openacs-4/packages/recruiting/www/admin/list-candidates.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/list-candidates.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/recruiting/www/admin/list-candidates.tcl 7 Aug 2002 23:39:19 -0000 1.6 +++ openacs-4/packages/recruiting/www/admin/list-candidates.tcl 9 Aug 2002 20:30:51 -0000 1.7 @@ -13,23 +13,29 @@ set referrer [ns_urlencode [ns_conn url]] -table::setTitle candidates "Recruiting Candidates" -table::setColumnHeadings candidates [list "Name" "Location" "Status" "Interviews"] -table::setColumnAlignment candidates [list left left left center left] +ui::table::set_title candidates "Recruiting Candidates" +ui::table::set_column_headings candidates [list "Name" "Location" "Status" "Interviews"] +ui::table::set_column_alignment candidates [list left left left center left] db_foreach get_candidates {} { - table::addSortableRow candidates [list "$first_name $last_name
($email)" \ + ui::table::add_sortable_row candidates [list "$first_name $last_name
($email)" \ "$city, $state" \ "$status" \ "$num_completed_interviews out of $num_interviews
completed" \ "(details) (Delete this candidate)"] } if_no_rows { - table::addSortableRow candidates [list "No Candidates"] + ui::table::add_sortable_row candidates [list "No Candidates"] } -table::setTitle options "Options" -table::addUnsortedRow options [list "Add a new candidate"] -table::addUnsortedRow options [list "View archived candidates"] +ui::table::set_title options "Options" +ui::table::add_unsorted_row options [list "Add a new candidate"] +ui::table::add_unsorted_row options [list "View archived candidates"] set context_bar [list [list "../" "Recruiting"] [list "index" "Admin"] "Candidates"] ad_return_template + + + + + + Index: openacs-4/packages/recruiting/www/admin/list-criteria.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/list-criteria.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/recruiting/www/admin/list-criteria.adp 31 Jul 2002 23:54:00 -0000 1.2 +++ openacs-4/packages/recruiting/www/admin/list-criteria.adp 9 Aug 2002 20:30:51 -0000 1.3 @@ -2,10 +2,12 @@ @context_bar@
-<%= [table::outputTable enabled] %> +<%= [ui::table::output_table enabled] %>

-<%= [table::outputTable disabled] %> +<%= [ui::table::output_table disabled] %>

-<%= [table::outputTable options] %> +<%= [ui::table::output_table options] %>
+ + Index: openacs-4/packages/recruiting/www/admin/list-criteria.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/list-criteria.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/recruiting/www/admin/list-criteria.tcl 1 Aug 2002 00:45:49 -0000 1.3 +++ openacs-4/packages/recruiting/www/admin/list-criteria.tcl 9 Aug 2002 20:30:51 -0000 1.4 @@ -11,24 +11,27 @@ set package_id [ad_conn package_id] set user_id [ad_verify_and_get_user_id] -table::setTitle enabled "Candidate Criteria" +ui::table::set_title enabled "Candidate Criteria" db_foreach get_enabled_criteria_types {} { - table::addUnsortedRow enabled [list "$criteria_name" "(edit) (disable)"] + ui::table::add_unsorted_row enabled [list "$criteria_name" "(edit) (disable)"] } if_no_rows { - table::addUnsortedRow enabled [list "There is no criteria defined yet. (Add Criteria)"] + ui::table::add_unsorted_row enabled [list "There is no criteria defined yet. (Add Criteria)"] } -table::setTitle disabled "Disabled Criteria" +ui::table::set_title disabled "Disabled Criteria" db_foreach get_disabled_criteria_types {} { - table::addUnsortedRow disabled [list "$criteria_name" "(enable)"] + ui::table::add_unsorted_row disabled [list "$criteria_name" "(enable)"] } if_no_rows { - table::addUnsortedRow disabled [list "There are no disabled criteria"] + ui::table::add_unsorted_row disabled [list "There are no disabled criteria"] } -table::setTitle options "Options" -table::addUnsortedRow options [list "Add New Criteria"] +ui::table::set_title options "Options" +ui::table::add_unsorted_row options [list "Add New Criteria"] set context_bar [list [list "../" "Recruiting"] [list "index" "Admin"] "Criteria Types"] ad_return_template + + + Index: openacs-4/packages/recruiting/www/admin/list-interviews.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/list-interviews.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/list-interviews.adp 7 Aug 2002 23:39:19 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/list-interviews.adp 9 Aug 2002 20:30:51 -0000 1.2 @@ -1,4 +1,6 @@ @context_bar@ -<%= [table::outputTable interviews] %> +<%= [ui::table::output_table interviews] %> + + Index: openacs-4/packages/recruiting/www/admin/list-interviews.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/list-interviews.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/list-interviews.tcl 7 Aug 2002 23:39:19 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/list-interviews.tcl 9 Aug 2002 20:30:51 -0000 1.2 @@ -11,12 +11,16 @@ set package_id [ad_conn package_id] set user_id [ad_verify_and_get_user_id] -table::setTitle interviews "Pending Interviews" -table::setColumnHeadings interviews [list "Candidate" "Interviewer" "Assigned"] +ui::table::set_title interviews "Pending Interviews" +ui::table::set_column_headings interviews [list "Candidate" "Interviewer" "Assigned"] db_foreach pending_interviews {} { - table::addSortableRow interviews [list "$candidate_name" "$interviewer_name" "$assigned_date"] + ui::table::add_sortable_row interviews [list "$candidate_name" "$interviewer_name" "$assigned_date"] } if_no_rows { - table::addSortableRow interviews [list "There are no pending interviews"] + ui::table::add_sortable_row interviews [list "There are no pending interviews"] } set context_bar [list [list "../" "Recruiting"] [list "index" "Admin"] "Pending Interviews"] + + + + Index: openacs-4/packages/recruiting/www/admin/list-status-types.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/list-status-types.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/recruiting/www/admin/list-status-types.adp 31 Jul 2002 23:54:00 -0000 1.3 +++ openacs-4/packages/recruiting/www/admin/list-status-types.adp 9 Aug 2002 20:30:51 -0000 1.4 @@ -2,10 +2,12 @@ @context_bar@
-<%= [table::outputTable enabled] %> +<%= [ui::table::output_table enabled] %>

-<%= [table::outputTable disabled] %> +<%= [ui::table::output_table disabled] %>

-<%= [table::outputTable options] %> +<%= [ui::table::output_table options] %>
+ + Index: openacs-4/packages/recruiting/www/admin/list-status-types.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/list-status-types.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/recruiting/www/admin/list-status-types.tcl 31 Jul 2002 23:54:00 -0000 1.2 +++ openacs-4/packages/recruiting/www/admin/list-status-types.tcl 9 Aug 2002 20:30:51 -0000 1.3 @@ -11,23 +11,27 @@ set package_id [ad_conn package_id] set user_id [ad_verify_and_get_user_id] -table::setTitle enabled "Candidate Status Types" +ui::table::set_title enabled "Candidate Status Types" db_foreach get_enabled_status_types {} { - table::addSortableRow enabled [list "$short_desc" "(edit) (disable)"] + ui::table::add_sortable_row enabled [list "$short_desc" "(edit) (disable)"] } if_no_rows { - table::addSortableRow enabled [list "There are no status types. (create one)"] + ui::table::add_sortable_row enabled [list "There are no status types. (create one)"] } -table::setTitle disabled "Disabled Candidate Status Types" +ui::table::set_title disabled "Disabled Candidate Status Types" db_foreach get_disabled_status_types {} { - table::addSortableRow disabled [list "$short_desc" "(enable)"] + ui::table::add_sortable_row disabled [list "$short_desc" "(enable)"] } if_no_rows { - table::addSortableRow disabled [list "There are no disabled status types"] + ui::table::add_sortable_row disabled [list "There are no disabled status types"] } -table::setTitle options "Options" -table::addUnsortedRow options [list "Add new status type"] +ui::table::set_title options "Options" +ui::table::add_unsorted_row options [list "Add new status type"] set context_bar [list [list "../" "Recruiting"] [list "index" "Admin"] "Status Types"] ad_return_template + + + + Index: openacs-4/packages/recruiting/www/admin/status-help.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/status-help.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/status-help.adp 31 Jul 2002 23:54:00 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/status-help.adp 9 Aug 2002 20:30:51 -0000 1.2 @@ -1 +1,3 @@ -<%= [table::outputTable types] %> +<%= [ui::table::output_table types] %> + + Index: openacs-4/packages/recruiting/www/admin/status-help.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/status-help.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/status-help.tcl 31 Jul 2002 23:54:00 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/status-help.tcl 9 Aug 2002 20:30:51 -0000 1.2 @@ -10,9 +10,12 @@ set package_id [ad_conn package_id] set user_id [ad_verify_and_get_user_id] -table::setColumnHeadings types [list "Choose this..." "When"] +ui::table::set_column_headings types [list "Choose this..." "When"] db_foreach get_status_types {} { - table::addSortableRow types [list "$short_desc" "$long_desc"] + ui::table::add_sortable_row types [list "$short_desc" "$long_desc"] } ad_return_template + + + Index: openacs-4/packages/recruiting/www/admin/view-average-ratings.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/view-average-ratings.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/view-average-ratings.adp 1 Aug 2002 22:14:37 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/view-average-ratings.adp 9 Aug 2002 20:30:51 -0000 1.2 @@ -3,8 +3,10 @@
-<%= [table::outputTable ratings] %> +<%= [ui::table::output_table ratings] %> -<%= [table::outputTable summary] %> +<%= [ui::table::output_table summary] %>
+ + Index: openacs-4/packages/recruiting/www/admin/view-average-ratings.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/view-average-ratings.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/view-average-ratings.tcl 1 Aug 2002 22:14:37 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/view-average-ratings.tcl 9 Aug 2002 20:30:51 -0000 1.2 @@ -12,19 +12,19 @@ array set candidate_info [recruiting_candidate::get -candidate_id $candidate_id] -table::setTitle ratings "Average ratings for $candidate_info(first_name) $candidate_info(last_name)" -table::setColumnHeadings ratings [list "Criteria" "Average Rating"] -table::setColumnAlignment ratings [list left center] +ui::table::set_title ratings "Average ratings for $candidate_info(first_name) $candidate_info(last_name)" +ui::table::set_column_headings ratings [list "Criteria" "Average Rating"] +ui::table::set_column_alignment ratings [list left center] db_foreach get_ratings_by_candidate {} { - table::addSortableRow ratings [list "$criteria_name (view all $criteria_name ratings)" "$rating"] + ui::table::add_sortable_row ratings [list "$criteria_name (view all $criteria_name ratings)" "$rating"] } if_no_rows { - table::addSortableRow ratings [list "$candidate_info(first_name) $candidate_info(last_name) has no ratings."] + ui::table::add_sortable_row ratings [list "$candidate_info(first_name) $candidate_info(last_name) has no ratings."] } -table::setTitle summary "Summary Information" -table::addUnsortedRow summary [list "Overall rating:" [db_string get_average_rating {}]] -table::addUnsortedRow summary [list "Votes to hire:" [db_string get_hire_votes {}]] -table::addUnsortedRow summary [list "Votes against hiring:" [db_string get_no_hire_votes {}]] +ui::table::set_title summary "Summary Information" +ui::table::add_unsorted_row summary [list "Overall rating:" [db_string get_average_rating {}]] +ui::table::add_unsorted_row summary [list "Votes to hire:" [db_string get_hire_votes {}]] +ui::table::add_unsorted_row summary [list "Votes against hiring:" [db_string get_no_hire_votes {}]] set context_bar [list \ [list "../" "Recruiting"] \ [list "index" "Admin"] \ @@ -33,3 +33,9 @@ "Average Ratings"] ad_return_template + + + + + + Index: openacs-4/packages/recruiting/www/admin/view-comments.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/view-comments.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/view-comments.adp 2 Aug 2002 16:48:26 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/view-comments.adp 9 Aug 2002 20:30:51 -0000 1.2 @@ -1,5 +1,7 @@ @context_bar@ -<%= [table::outputTable comments] %> +<%= [ui::table::output_table comments] %> + + Index: openacs-4/packages/recruiting/www/admin/view-comments.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/view-comments.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/view-comments.tcl 2 Aug 2002 16:48:26 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/view-comments.tcl 9 Aug 2002 20:30:51 -0000 1.2 @@ -15,12 +15,15 @@ array set candidate_info [recruiting_candidate::get -candidate_id $candidate_id] -table::setTitle comments "Comments for $candidate_info(first_name) $candidate_info(last_name)" +ui::table::set_title comments "Comments for $candidate_info(first_name) $candidate_info(last_name)" db_foreach get_comments {} { - table::addUnsortedRow comments [list "$interviewer_name: $comment
(view $interviewer_name's ratings)"] + ui::table::add_unsorted_row comments [list "$interviewer_name: $comment
(view $interviewer_name's ratings)"] } set context_bar [list [list "../" "Recruiting"] [list "index" "Admin"] [list "list-candidates" "Candidates"] [list "view-one-candidate?[export_vars candidate_id]" "One Candidate"] "Comments"] ad_return_template + + + Index: openacs-4/packages/recruiting/www/admin/view-one-candidate.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/view-one-candidate.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/recruiting/www/admin/view-one-candidate.adp 7 Aug 2002 23:39:19 -0000 1.2 +++ openacs-4/packages/recruiting/www/admin/view-one-candidate.adp 9 Aug 2002 20:30:51 -0000 1.3 @@ -3,13 +3,15 @@
-<%= [table::outputTable candidate] %> +<%= [ui::table::output_table candidate] %>

-<%= [table::outputTable resume] %> +<%= [ui::table::output_table resume] %>

-<%= [table::outputTable interviews] %> +<%= [ui::table::output_table interviews] %>

-<%= [table::outputTable options] %> +<%= [ui::table::output_table options] %>
+ + Index: openacs-4/packages/recruiting/www/admin/view-one-candidate.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/view-one-candidate.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/recruiting/www/admin/view-one-candidate.tcl 7 Aug 2002 23:39:19 -0000 1.7 +++ openacs-4/packages/recruiting/www/admin/view-one-candidate.tcl 9 Aug 2002 20:30:51 -0000 1.8 @@ -29,27 +29,27 @@ } append address " $info(country)" -table::setTitle candidate "Recruiting Candidate Detail" -table::addUnsortedRow candidate [list "Name:" "$info(last_name), $info(first_name)"] -table::addUnsortedRow candidate [list "Address:" "$address"] -table::addUnsortedRow candidate [list "Home Phone:" "[recruiting_candidate::format_phone -phone_number $info(home_phone)]"] -table::addUnsortedRow candidate [list "Mobile Phone:" "[recruiting_candidate::format_phone -phone_number $info(cell_phone)]"] -table::addUnsortedRow candidate [list "Status:" "$info(status) (change status)"] +ui::table::set_title candidate "Recruiting Candidate Detail" +ui::table::add_unsorted_row candidate [list "Name:" "$info(last_name), $info(first_name)"] +ui::table::add_unsorted_row candidate [list "Address:" "$address"] +ui::table::add_unsorted_row candidate [list "Home Phone:" "[recruiting_candidate::format_phone -phone_number $info(home_phone)]"] +ui::table::add_unsorted_row candidate [list "Mobile Phone:" "[recruiting_candidate::format_phone -phone_number $info(cell_phone)]"] +ui::table::add_unsorted_row candidate [list "Status:" "$info(status) (change status)"] set possible_ratings [db_string get_num_criteria {}] -table::setTitle interviews "Interviews for this candidate" -table::setColumnHeadings interviews [list \ +ui::table::set_title interviews "Interviews for this candidate" +ui::table::set_column_headings interviews [list \ "Interviewer" \ "Completed?" \ "Average Rating" \ "Recommends Hiring" ] -table::setColumnAlignment interviews [list left center center center] -table::setExportVars interviews [export_vars candidate_id] +ui::table::set_column_alignment interviews [list left center center center] +ui::table::set_export_vars interviews [export_vars candidate_id] db_foreach get_interviews {} { - table::addUnsortedRow interviews [list \ + ui::table::add_unsorted_row interviews [list \ "$last_name, $first_names" \ "$completed_p" \ "[db_string get_average_rating {}]" \ @@ -58,23 +58,29 @@ (view comments) (delete)"] } if_no_rows { - table::addUnsortedRow interviews [list "No Interviews assigned. (assign one)"] + ui::table::add_unsorted_row interviews [list "No Interviews assigned. (assign one)"] } -table::addUnsortedRow interviews [list "" "" "" "" "(view average ratings)"] +ui::table::add_unsorted_row interviews [list "" "" "" "" "(view average ratings)"] -table::setTitle options "Options" -table::addUnsortedRow options [list "Edit Information"] -table::addUnsortedRow options [list "Change Status"] -table::addUnsortedRow options [list "Assign Interview"] -table::addUnsortedRow options [list "Archive this candidate"] -table::addUnsortedRow options [list "Delete this candidate"] +ui::table::set_title options "Options" +ui::table::add_unsorted_row options [list "Edit Information"] +ui::table::add_unsorted_row options [list "Change Status"] +ui::table::add_unsorted_row options [list "Assign Interview"] +ui::table::add_unsorted_row options [list "Archive this candidate"] +ui::table::add_unsorted_row options [list "Delete this candidate"] set attach_url [attachments::add_attachment_url -object_id $candidate_id -return_url "[ns_conn url]?[export_vars candidate_id]"] -table::setTitle resume "Resume" -table::addUnsortedRow resume [list "No resume uploaded. (upload a resume)"] +ui::table::set_title resume "Resume" +ui::table::add_unsorted_row resume [list "No resume uploaded. (upload a resume)"] set context_bar [list [list "../" "Recruiting"] [list "index" "Admin"] [list "list-candidates" "Candidates"] "One Candidate"] ad_return_template + + + + + + Index: openacs-4/packages/recruiting/www/admin/view-ratings-by-criteria.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/view-ratings-by-criteria.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/view-ratings-by-criteria.adp 1 Aug 2002 21:18:09 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/view-ratings-by-criteria.adp 9 Aug 2002 20:30:51 -0000 1.2 @@ -3,8 +3,10 @@
-<%= [table::outputTable ratings] %> +<%= [ui::table::output_table ratings] %> -<%= [table::outputTable summary] %> +<%= [ui::table::output_table summary] %>
+ + Index: openacs-4/packages/recruiting/www/admin/view-ratings-by-criteria.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/view-ratings-by-criteria.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/recruiting/www/admin/view-ratings-by-criteria.tcl 1 Aug 2002 21:18:09 -0000 1.1 +++ openacs-4/packages/recruiting/www/admin/view-ratings-by-criteria.tcl 9 Aug 2002 20:30:51 -0000 1.2 @@ -14,17 +14,17 @@ array set candidate_info [recruiting_candidate::get -candidate_id $candidate_id] array set criteria_info [recruiting_criteria::get -criteria_id $criteria_id] -table::setTitle ratings "$criteria_info(criteria_name) ratings for $candidate_info(first_name) $candidate_info(last_name)" -table::setColumnHeadings ratings [list "Interviewer" "$criteria_info(criteria_name) Rating"] -table::setColumnAlignment ratings [list left center] +ui::table::set_title ratings "$criteria_info(criteria_name) ratings for $candidate_info(first_name) $candidate_info(last_name)" +ui::table::set_column_headings ratings [list "Interviewer" "$criteria_info(criteria_name) Rating"] +ui::table::set_column_alignment ratings [list left center] db_foreach get_ratings_by_criteria {} { - table::addSortableRow ratings [list "$interviewer_name (view all ratings)" "$rating"] + ui::table::add_sortable_row ratings [list "$interviewer_name (view all ratings)" "$rating"] } if_no_rows { - table::addSortableRow ratings [list "$candidate_info(first_name) $candidate_info(last_name) has no $criteria_info(criteria_name) ratings."] + ui::table::add_sortable_row ratings [list "$candidate_info(first_name) $candidate_info(last_name) has no $criteria_info(criteria_name) ratings."] } -table::setTitle summary "Summary Information" -table::addUnsortedRow summary [list "Average rating:" [db_string get_average_rating_by_criteria {}]] +ui::table::set_title summary "Summary Information" +ui::table::add_unsorted_row summary [list "Average rating:" [db_string get_average_rating_by_criteria {}]] set context_bar [list \ [list "../" "Recruiting"] \ @@ -34,3 +34,9 @@ "Criteria Ratings"] ad_return_template + + + + + + Index: openacs-4/packages/recruiting/www/admin/view-ratings.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/view-ratings.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/recruiting/www/admin/view-ratings.adp 2 Aug 2002 16:48:26 -0000 1.2 +++ openacs-4/packages/recruiting/www/admin/view-ratings.adp 9 Aug 2002 20:30:51 -0000 1.3 @@ -3,10 +3,12 @@
-<%= [table::outputTable ratings] %> +<%= [ui::table::output_table ratings] %>

-<%= [table::outputTable comments] %> +<%= [ui::table::output_table comments] %>

-<%= [table::outputTable summary] %> +<%= [ui::table::output_table summary] %>
+ + Index: openacs-4/packages/recruiting/www/admin/view-ratings.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/view-ratings.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/recruiting/www/admin/view-ratings.tcl 2 Aug 2002 16:48:26 -0000 1.2 +++ openacs-4/packages/recruiting/www/admin/view-ratings.tcl 9 Aug 2002 20:30:51 -0000 1.3 @@ -18,24 +18,24 @@ db_1row get_interviewer_info {} -table::setTitle ratings "$interviewer_name\'s ratings for $candidate_info(first_name) $candidate_info(last_name)" -table::setColumnHeadings ratings [list "Criteria" "Rating"] -table::setColumnAlignment ratings [list left center] -table::setExportVars ratings [export_vars interview_id] +ui::table::set_title ratings "$interviewer_name\'s ratings for $candidate_info(first_name) $candidate_info(last_name)" +ui::table::set_column_headings ratings [list "Criteria" "Rating"] +ui::table::set_column_alignment ratings [list left center] +ui::table::set_export_vars ratings [export_vars interview_id] db_foreach get_ratings {} { - table::addSortableRow ratings [list "$criteria_name (view all $criteria_name ratings)
$description" "$rating"] + ui::table::add_sortable_row ratings [list "$criteria_name (view all $criteria_name ratings)
$description" "$rating"] } if_no_rows { - table::addSortableRow ratings [list "$interviewer_name has not made any ratings for $candidate_info(first_name) $candidate_info(last_name)"] + ui::table::add_sortable_row ratings [list "$interviewer_name has not made any ratings for $candidate_info(first_name) $candidate_info(last_name)"] } -table::setTitle summary "Summary Info" -table::addUnsortedRow summary [list "Interviewed by:" "$interviewer_name
$interviewer_email"] -table::addUnsortedRow summary [list "Average rating:" [db_string get_average_rating {}]] -table::addUnsortedRow summary [list "Hiring suggestion:" [db_string get_should_hire_p {}]] +ui::table::set_title summary "Summary Info" +ui::table::add_unsorted_row summary [list "Interviewed by:" "$interviewer_name
$interviewer_email"] +ui::table::add_unsorted_row summary [list "Average rating:" [db_string get_average_rating {}]] +ui::table::add_unsorted_row summary [list "Hiring suggestion:" [db_string get_should_hire_p {}]] -table::setTitle comments "Comments" -table::addUnsortedRow comments [list $interview_info(comment)] +ui::table::set_title comments "Comments" +ui::table::add_unsorted_row comments [list $interview_info(comment)] set context_bar [list \ [list "../" "Recruiting"] \ @@ -45,3 +45,10 @@ "Interview Ratings"] ad_return_template + + + + + + +