app/soc/templates/modules/ghop/organization/list/row.html
changeset 2829 ebc8976cd8f6
equal deleted inserted replaced
2828:a0f221472487 2829:ebc8976cd8f6
       
     1 {% load ghop_filters %}
       
     2 
       
     3 <tr class="off" onmouseover="this.className='on'; do_redirect=true" 
       
     4     onmouseout="this.className='off'" name="name"
       
     5     onclick="if (do_redirect) document.location.href='{{ list.redirect }}'">
       
     6   <td align="right">
       
     7     <div class="name">
       
     8       <a class="noul" onclick="do_redirect=false" href="{{ list.redirect }}">
       
     9         {{ list.item.name }}
       
    10       </a>
       
    11     </div>
       
    12   </td>
       
    13   <td>
       
    14    <div class="task_quota_limit">{{ list.item.task_quota_limit }}</a></div>
       
    15   </td>
       
    16   <td><div class="open_tasks">{{ list.item|open_tasks }}</a></div></td>
       
    17   <td><div class="claimed_tasks">{{ list.item|claimed_tasks }}</a></div></td>
       
    18   <td><div class="closed_tasks">{{ list.item|closed_tasks }}</a></div></td>
       
    19   {% if list.item.ideas %}
       
    20   <td onclick="if (redirect_to_home) document.location.href='{{ list.item.home_page }}'; 
       
    21       do_redirect=false" onmouseover="redirect_to_home=true">
       
    22   {% else %}
       
    23   <td class="no_hand" onclick="do_redirect=false">
       
    24   {% endif %}
       
    25     <div class="home_url">
       
    26       {% if list.item.home_page %}
       
    27       <a onclick="redirect_to_home=false" href="{{ list.item.home_page }}">
       
    28       {% endif %}
       
    29         {{ list.item.home_page|urlizetrunc:35|removetags:"a" }}
       
    30       {% if list.item.home_page %}
       
    31       </a>
       
    32       {% endif %}
       
    33     </div>
       
    34   </td>
       
    35 </tr>