X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/69d5189cc4fb2ca63418a0741bf744cf5fee8bc9..d2cfab09f98980d5c1d433a9e75eb65e0b13b0aa:/floof/templates/users/view.mako?ds=sidebyside diff --git a/floof/templates/users/view.mako b/floof/templates/users/view.mako index f9a9329..40d2e07 100644 --- a/floof/templates/users/view.mako +++ b/floof/templates/users/view.mako @@ -3,7 +3,28 @@
This is the userpage for ${c.this_user.name}.
+<%! from floof.model.users import UserRelationshipTypes %> +% if c.this_user == c.user: +## Nothing +<% pass %>\ +% elif c.user: +${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 +
+${h.end_form()} +% endif + +<%! from floof.lib.tags import parse %> % for gallery in c.this_user.primary_page.galleries: