datatracker/ietf/templates/idtracker/search_result_row.html
Bill Fenner ea639f96c4 * Add filename_with_link to create links only for active documents
* Display document status if it's not Active
* Use revision_display in displayname()
* Check for DocumentComment.created_by flag value of 999
 - Legacy-Id: 317
2007-06-11 18:47:44 +00:00

14 lines
850 B
HTML

<tr bgcolor="#{% if match.primary_flag %}{% cycle F8D6F8,E2AFE2 as ballotcolor %}{% else %}{{ ballotcolor }}{% endif %}">
<!-- this form element technically belongs inside the <td>
but that actually changes the visible spacing in most
browsers, so we let layout concerns make us write
invalid HTML. -->
<form method="GET" action="{% url ietf.idtracker.views.view_id match.document.filename %}"><td><input type="submit" value="DETAIL"></td></form>
{# todo: conditionalize doclink properly #}
<td>{% if match.primary_flag %}<li>{% else %}<dd>{% endif %}{{ match.document.filename_with_link }} ({{ match.document.intended_status }})</td>
<td>{{ match.document.revision }}</td>
<td>{{ match.job_owner }}</td>
<td>{% firstof match.status_date "" %}</td>
<td>{{ match.event_date }}</td>
</tr>