Subversion Repositories VORC

Rev

Rev 65 | Rev 80 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 65 Rev 73
Line 130... Line 130...
130
  
130
  
131
	$t->{available} .= " Open";	
131
	$t->{available} .= " Open";	
132
  $t->{available} .= " | ".$droplink unless !$t->{signedup};
132
  $t->{available} .= " | ".$droplink unless !$t->{signedup};
133
	if (signUpEligible ($ORCUSER, $t, "class")) {
133
	if (signUpEligible ($ORCUSER, $t, "class")) {
134
		# SIGN UP
134
		# SIGN UP
135
		$t->{available} .= " | ".$h->a ({ onClick=>"window.open('make_shift_change.pl?change=add&RCid=$RCid&id=$classkey','Confirm Class Change','resizable,height=260,width=370'); return false;" }, "[SIGN UP]");
135
		$t->{available} .= " | ".$h->a ({ onClick=>"event.stopPropagation(); window.open('make_shift_change.pl?change=add&RCid=$RCid&id=$classkey','Confirm Class Change','resizable,height=260,width=370'); return false;" }, "[SIGN UP]");
136
	}
136
	}
137
	if ($LVL > 4 or $user->{department}->{VCI} >= 2) {
137
	if ($LVL > 4 or $user->{department}->{VCI} >= 2) {
138
		# ADD USER
138
		# ADD USER
139
		$t->{available} ? $t->{available} .= " | " : {};
139
		$t->{available} ? $t->{available} .= " | " : {};
140
		$t->{available} .= $h->a ({ onClick=>"window.open('make_shift_change.pl?change=lookup&RCid=$RCid&id=$classkey','Confirm Class Change','resizable,height=260,width=370'); return false;" }, "[ADD USER]");
140
		$t->{available} .= $h->a ({ onClick=>"event.stopPropagation(); window.open('make_shift_change.pl?change=lookup&RCid=$RCid&id=$classkey','Confirm Class Change','resizable,height=260,width=370'); return false;" }, "[ADD USER]");
Line 141... Line 141...
141
	}
141
	}
142
 
142