from floof.model import Art, ArtUser, ArtUserType, Tag, TagText, User
-
+import elixir
from dbhelpers import find_or_create
import re
def parse(search_string):
@property
def string(self):
- return self.search
+ return self.search.string
@string.setter
def string(self, value):
('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>
<%! from floof.lib.search import parse %>
% for gallery in c.this_user.primary_page.galleries:
<h2>${gallery.string}</h2>
-${macros.thumbs(parse(gallery.tags.string))}
+${macros.thumbs(parse(gallery.string))}
% endfor