X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/366dedf71b3cdd775251c7cea4b1519b44b37164..7a76bb2835ed39ac91b74edfb7932349a079ea68:/floof/templates/users/view.mako?ds=inline diff --git a/floof/templates/users/view.mako b/floof/templates/users/view.mako index f9a9329..5b7e12d 100644 --- a/floof/templates/users/view.mako +++ b/floof/templates/users/view.mako @@ -3,7 +3,25 @@
This is the userpage for ${c.this_user.name}.
+<%! 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 + % for gallery in c.this_user.primary_page.galleries: