<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"
<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"