X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/36dba08534b4309de0e0746784e2a6c5bb854030..HEAD:/floof/templates/users/view.mako diff --git a/floof/templates/users/view.mako b/floof/templates/users/view.mako index 5c2e8e6..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,10 +19,12 @@ ${h.form(url(controller='user_settings', action='rel_toggle', name=c.user.name.l % endif +

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

${gallery.string}

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