anchor.diff:       <% end %>
      <% end %>
   
  -
  +  <!--waiting listed users on the same topic-->
     <% if @users_on_waiting_list && @users_on_waiting_list.count>0%>
       <h3>Users waiting for this topic:</h3>
         <table>
  
positive.code:   </table>
  <% end %>
  
  <%# this part is temporaly disabled because the role-based reviewing feature needs to be re-done%>
  <% if false && @student.team != nil %>
    <h3>Team-member role (duty)</h3>
  
    <%=form_tag :controller=>'participants', :action=>'update_duties', :student_id=>@student.id do %>
      <% params[:duty] = @student.duty %>
      Select your duty: 
      <select id='select_team_member_duty', name='duty'>
        <option value='manager'
          <% if params[:duty] == 'manager' -%>
            selected
          <% end -%>
        >manager</option>
        <option value='designer'
          <% if params[:duty] == 'designer' -%>
            selected
          <% end -%>
        >designer</option>
        <option value='programmer'
          <% if params[:duty] == 'programmer' -%>
            selected
          <% end -%>
        >programmer</option>
        <option value='tester'
          <% if params[:duty] == 'tester' -%>
            selected
          <% end -%>
        >tester</option>
      </select>
      <%= button_tag 'Submit' %>
    <% end %>
  <% end %>
  
  
  
    <% if @student.team!=nil %>
      <%= render :partial => 'join_team_requests/list_received',
      :locals =>{:team_id=>@student.team.id,
  
negative.code:   <% end %>
  <% end %>
  
  <!--display a table of received invitation-->
    <% if @received_invs && @received_invs.length > 0 %>
      <table>
        <h3>Received Invitations</h3>
  