app/soc/templates/soc/survey/list/records_row.html
author Lennard de Rijk <ljvderijk@gmail.com>
Tue, 04 Aug 2009 16:57:27 +0200
changeset 2726 0d9e4b0a9d3c
parent 2724 8df4563fb2eb
permissions -rw-r--r--
Added redirect for viewing SurveyRecords and enabled links in the Record list. Patch by: Lennard de Rijk and James Levy

<tr class="off" onmouseover="this.className='on'; do_redirect=true" onmouseout="this.className='off'"
 onclick="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>