From 0124d33c3e544625fc1892fbe0f893b3406a6caf Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Wed, 28 Nov 2012 13:29:32 -0500 Subject: [PATCH] Update markup on GitHub org pages (#289) --- www/on/github/%login/index.html | 48 +++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/www/on/github/%login/index.html b/www/on/github/%login/index.html index f556ebf881..035931872c 100644 --- a/www/on/github/%login/index.html +++ b/www/on/github/%login/index.html @@ -157,19 +157,31 @@

Don’t like what you see?

{{ name }} is an {{ usertype }} on GitHub.

- + + + + + +
+ + {% if len(members) == 0 %} + {{ name }} does not have any public members. + {% elif len(members) == 1 %} + {{ name }} has one public member. + {% else %} + Here are the {{ len(members) }} public members of {{ name }}: + {% end %} + {% for i, sequence in enumerate([on_gittip, not_on_gittip]) %} {% if sequence %}{% end %} @@ -207,13 +219,9 @@

{{ name }} is an {{ usertype }} on GitHub.

{% else %}

Not sure what to do with {{ name }}.

- + + I don’t recognize the “{{ usertype }}” type of user on GitHub.
+ Sorry. :-( {% end %}

{{ i == 0 and "Also on" or "Not on" }} Gittip