projects
/
zzz-floof.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a little s/// failure in the user view template.
[zzz-floof.git]
/
floof
/
templates
/
art
/
show.mako
diff --git
a/floof/templates/art/show.mako
b/floof/templates/art/show.mako
index
a38806d
..
bf14dff
100644
(file)
--- a/
floof/templates/art/show.mako
+++ b/
floof/templates/art/show.mako
@@
-34,8
+34,12
@@
${h.end_form()}
<h2>Relations</h2>
<ul>
<h2>Relations</h2>
<ul>
-% for relation in c.art.user_relations:
-<li>${relation.kind}: ${relation.user}
+% for label, relations in (('Artist', c.art.artists), \
+ ('Recipient', c.art.recipients), \
+ ('Participant', c.art.participants)):
+% for user in relations:
+<li>${label}: ${user.name}
+% endfor
% endfor
</ul>
% endfor
</ul>