Subversion Repositories VORC

Rev

Rev 196 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 196 Rev 231
Line 95... Line 95...
95
      # NO SHOW
95
      # NO SHOW
96
      $t->{derby_name} .= " | <A HREF='#' onClick=\"if (confirm('Really? They were a no show?')==true) { window.open('make_shift_change.pl?noshow=true&change=del&RCid=$t->{RCid}&id=$t->{id}&role=$t->{role}','Confirm Shift Change','resizable,height=260,width=370'); return false; }\">[NO SHOW]</a>";
96
      $t->{derby_name} .= " | <A HREF='#' onClick=\"if (confirm('Really? They were a no show?')==true) { window.open('make_shift_change.pl?noshow=true&change=del&RCid=$t->{RCid}&id=$t->{id}&role=$t->{role}','Confirm Shift Change','resizable,height=260,width=370'); return false; }\">[NO SHOW]</a>";
97
    }
97
    }
98
  } elsif (!$t->{derby_name}) {
98
  } elsif (!$t->{derby_name}) {
99
    $t->{dept} = "ANN";
99
    $t->{dept} = "ANN";
100
    if ($t->{track} eq "C3" or $t->{track} eq "C5") {
100
#    if ($t->{track} eq "C3" or $t->{track} eq "C5") {
-
 
101
    if ($t->{track} eq "C5") {
101
      return "*no announcers*";
102
      return "*no announcers*";
102
    }
103
    }
103
    if (findConflict ($ORCUSER->{RCid}, $t->{id}, "game")) {
104
    if (findConflict ($ORCUSER->{RCid}, $t->{id}, "game")) {
104
      $t->{derby_name} .= "*schedule conflict*";
105
      $t->{derby_name} .= "*schedule conflict*";
105
    } elsif (signUpEligible ($ORCUSER, $t) and $now < $cutoff) {
106
    } elsif (signUpEligible ($ORCUSER, $t) and $now < $cutoff) {
Line 137... Line 138...
137
                  RCAuth  => $RCAUTH_cookie,
138
                  RCAuth  => $RCAUTH_cookie,
138
                  DisplayYearSelect => 1,
139
                  DisplayYearSelect => 1,
139
                  ShowMyShifts  => 1,
140
                  ShowMyShifts  => 1,
140
                  HighlightShifts => 1,
141
                  HighlightShifts => 1,
141
                  PersonalTimeButton => 1,
142
                  PersonalTimeButton => 1,
142
                  Where   => "track <> 'C3'",
143
#                  Where   => "track <> 'C3'",
-
 
144
                  Where   => "track <> 'C5'",
143
               });
145
               });