X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/332de9696e2cca102332d5543adad9b289c35214..b0ad3cb49cc07e32a24cc0119a05c7faf245ae19:/floof/templates/users/view.mako diff --git a/floof/templates/users/view.mako b/floof/templates/users/view.mako index d128276..3bff21a 100644 --- a/floof/templates/users/view.mako +++ b/floof/templates/users/view.mako @@ -3,7 +3,26 @@

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

-% for gallery in c.this_user.galleries: +<%! 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(gallery.search.results)} -% endfor \ No newline at end of file +${macros.thumbs(parse(gallery.search.string))} +% endfor