diff --git a/fas/fas/controllers.py b/fas/fas/controllers.py index 331045d..7902051 100644 --- a/fas/fas/controllers.py +++ b/fas/fas/controllers.py @@ -78,9 +78,11 @@ class Root(controllers.RootController): user_name = turbogears.identity.current.user_name person = People.by_username(user_name) cla = None + cla = None + if clickedCLAPrivs(person): + cla = 'clicked' if signedCLAPrivs(person): cla = 'signed' - return dict(person=person, cla=cla) @expose(template="fas.templates.about") diff --git a/fas/fas/templates/home.html b/fas/fas/templates/home.html index c64eb8b..2c8319f 100644 --- a/fas/fas/templates/home.html +++ b/fas/fas/templates/home.html @@ -23,6 +23,9 @@