Tiny fixes: save a query for by:me, and count() is a method.
[zzz-floof.git] / floof / templates / art / show.mako
index bf14dff..3ea3849 100644 (file)
@@ -38,17 +38,11 @@ ${h.end_form()}
                                ('Recipient', c.art.recipients), \
                                ('Participant', c.art.participants)):
 % for user in relations:
-<li>${label}: ${user.name}
+<li>${label}: <a href="${h.url('user_page', name=user.name)}">${user.name}</a>
 % endfor
 % endfor
 </ul>
 
-<h2>Add Relations</h2>
-${h.form (h.url("create_relation", kind="by", art_id=c.art.id))}
-By: ${h.text('username')}
-${h.submit('add','Add')}
-${h.end_form()}
-
 <img class="full" src="${h.storage_url('art/medium', c.art.hash)}">
 
 ${comments.comment_block(c.art.discussion.comments)}