X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/e0b6c733c6bea7ff31b9361650fb8534b9433597..d2cfab09f98980d5c1d433a9e75eb65e0b13b0aa:/floof/templates/users/view.mako?ds=sidebyside diff --git a/floof/templates/users/view.mako b/floof/templates/users/view.mako index 9d34279..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.search.string))} +${macros.thumbs(parse(gallery.search.string, me=c.this_user))} % endfor