As pointed out by Vik, that makes for too many issues (and downright
bugs...) when trying to copy/paste things. Instead, use an icon to view.
{%block title%}Conference registrations{%endblock%}
{%block extrahead%}
<style>
-tr.tblrow {
- cursor: pointer;
-}
tr.warning {
font-style: italic;
}
+a.nocolor {
+ color:black;
+}
</style>
{%endblock%}
<th><a href="?sort={%if sortkey == "date" %}-{%endif%}date">Confirmed</a></th>
</tr>
{%for r in regs%}
- <tr onclick="document.location.href='{{r.id}}/';" class="tblrow{%if not r.payconfirmedat%} warning{%endif%}">
- <td>{{r.lastname}}</td>
+ <tr {%if not r.payconfirmedat%}class="warning"{%endif%}>
+ <td><a class="nocolor" href="{{r.id}}/"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span></a> {{r.lastname}}</td>
<td>{{r.firstname}}</td>
<td>{{r.company}}</td>
<td>{{r.regtype.regtype}}</td>