]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/web/people.py
people: Encourage people to add a description
[ipfire.org.git] / src / web / people.py
index 9cbb8b87f5abc772f80f6b3000c61ee0a3893e6c..7f49cdfd6804d6f265f20daaf3c202d4499c6333 100644 (file)
@@ -22,6 +22,10 @@ class IndexHandler(auth.CacheMixin, base.BaseHandler):
                if not self.current_user.has_avatar():
                        hints.append("avatar")
 
+               # Suggest adding a description
+               if not self.current_user.description:
+                       hints.append("description")
+
                self.render("people/index.html", hints=hints)