- <td><a py:if="record.autorID is not None"
- href="${tg.url('/docente/show/%d' % record.autor.id)}"><span
- py:replace="tg.summarize(record.autor.shortrepr(), 30)">autor</span></a></td>
- <td><a py:if="len(record.casos_de_prueba)"
+ <td>
+ <a py:if="'admin' in identity.current.permissions and record.autorID is not None"
+ href="${tg.url('/docente/show/%d' % record.autor.id)}" py:content="tg.summarize(record.autor.shortrepr(), 30)">autor</a>
+ <span py:if="'admin' not in identity.current.permissions and record.autorID is not None"
+ py:replace="tg.summarize(record.autor.shortrepr(), 30)">autor</span>
+ </td>
+ <td py:if="'admin' in identity.current.permissions"><a py:if="len(record.casos_de_prueba)"