X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/065bd5b754cc6e6ea5da17e11a939f7a5b34da75..HEAD:/floof/templates/users/view.mako diff --git a/floof/templates/users/view.mako b/floof/templates/users/view.mako index 5b7e12d..40d2e07 100644 --- a/floof/templates/users/view.mako +++ b/floof/templates/users/view.mako @@ -7,7 +7,7 @@ % if c.this_user == c.user: ## Nothing <% pass %>\ -% else: +% elif c.user: ${h.form(url(controller='user_settings', action='rel_toggle', name=c.user.name.lower()), method='POST')}

@@ -19,9 +19,12 @@ ${h.form(url(controller='user_settings', action='rel_toggle', name=c.user.name.l % endif +

+${h.end_form()} % endif +<%! from floof.lib.tags import parse %> % for gallery in c.this_user.primary_page.galleries:

${gallery.string}

-${macros.thumbs(gallery.search.results)} +${macros.thumbs(parse(gallery.search.string, me=c.this_user))} % endfor