<%inherit file="/base.mako" /> <%namespace name="macros" file="/macros.mako" />

This is the userpage for ${c.this_user.name}.

<%! from floof.model.users import UserRelationshipTypes %> % if c.this_user == c.user: ## Nothing <% pass %>\ % else: ${h.form(url(controller='user_settings', action='rel_toggle', name=c.user.name.lower()), method='POST')}

% if UserRelationshipTypes.IS_WATCHING in c.relationships: % else: % endif % endif <%! from floof.lib.tags import parse %> % for gallery in c.this_user.primary_page.galleries:

${gallery.string}

${macros.thumbs(parse(gallery.search.string))} % endfor