%= [sdm_header "$baf_type Assignments"] %>
<%= $baf_type %> Assignments
<%= [ad_context_bar_ws_or_index [sdm_home_context_bar_item] [sdm_package_context_bar_item $package_id $package_name] $extra_menu [list "one-baf.tcl?[export_url_vars baf_id]" "$baf_type #$baf_id"] Assignments] %>
Who |
Role |
Action |
<%
foreach assignee $list_of_assignments {
ns_puts "[lindex $assignee 1] | [lindex $assignee 2] |
"
if {$admin_p} {
ns_puts "\[ remove \]"
}
ns_puts " |
\n"
}
if {$admin_p} {
set target [sdm_url_stub]/pvt/baf-assignment-add.tcl
set passthrough {baf_id role}
set custom_title "Pick a User to Assign"
ns_puts "
<%= [sdm_footer] %>