app/soc/templates/soc/survey/list/records_row.html
author James Levy <jamesalexanderlevy@gmail.com>
Tue, 04 Aug 2009 16:46:47 +0200
changeset 2724 8df4563fb2eb
child 2726 0d9e4b0a9d3c
permissions -rw-r--r--
Added templates for listing SurveyRecords. In the process results_heading and results_row got renamed to records_heading and records_row. Reviewed by: Lennard de Rijk

<tr class="off" onmouseover="this.className='on'; do_redirect=true" onmouseout="this.className='off'"
onclick="return false; if (do_redirect) document.location.href='{{ list.redirect }}'" name="name">

  <td>
    <div class="author">
      {{ list.item.user.name }}
    </div>
  </td>

  <td>
    <div class="modified">
      {{ list.item.modified|date:"Y-m-d H:i" }}
    </div>
  </td>

  <td style="max-width: 150px;">
    <div class="first_answer">
      {{ list.item.getValues.0|truncatewords:20 }}
    </div>
  </td>
</tr>