app/soc/templates/modules/ghop/task/list/row.html
changeset 2827 58e2a02e35b4
child 3017 6689a4c8f02e
equal deleted inserted replaced
2826:211783aa20d5 2827:58e2a02e35b4
       
     1 <tr class="off" onmouseover="this.className='on'; do_redirect=true" onmouseout="this.className='off'" 
       
     2 onclick="if (do_redirect) document.location.href='{{ list.redirect }}'" name="name">
       
     3   {% block first %}
       
     4   <!-- to be used in the inherited block -->
       
     5   {% endblock %}
       
     6   <td align="right"><div class="title"><a class="noul" onclick="do_redirect=false"
       
     7          href="{{ list.redirect }}">{{ list.item.title }}</a>
       
     8      </div>
       
     9   </td>
       
    10   <td><div class="difficulty">{{ list.item.difficulty.0.tag }}</a></div></td>
       
    11   <td><div class="task_type">
       
    12   {% for task_type in list.item.task_type %}
       
    13     {{ task_type.tag }}{% if not forloop.last %}, {% endif %}
       
    14   {% endfor %}
       
    15   </a></div></td>
       
    16   <td><div class="timetocomplete">{{ list.item.time_to_complete }} hrs</a></div></td>
       
    17   <td><div class="status">{{ list.item.status }}</a></div></td>
       
    18   <td><div class="mentors">
       
    19   {% if list.info.mentors %}
       
    20     {% for mentor in list.info.mentors|slice:":2" %}
       
    21       {{ mentor.name }}{% if not forloop.last %}, {% endif %}    
       
    22     {% endfor %}
       
    23     {% if list.info.extramentors %}
       
    24       + {{ list.info.extramentors }} 
       
    25     {% endif %}
       
    26   {% else %}
       
    27     Not Assigned
       
    28   {% endif %}
       
    29   </a></div></td>
       
    30 </tr>
       
    31