commit:     bc03898a8c3c3fc730c8477dd35deb681cc16866
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 21:37:18 2016 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 21:37:36 2016 +0000
URL:        https://gitweb.gentoo.org/proj/grumpy.git/commit/?id=bc03898a

frontend: Hide @gentoo.org for developers listing in /setup

 frontend/templates/setup.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontend/templates/setup.html b/frontend/templates/setup.html
index 6ea857a..c7a2f21 100644
--- a/frontend/templates/setup.html
+++ b/frontend/templates/setup.html
@@ -16,7 +16,7 @@
       {%- set maintainer = mapping[item.data] -%}
       <tr>
         <td>{{ item }}</td>
-        <td class="text-nowrap">{{ maintainer.email }}</td>
+        <td class="text-nowrap">{{ maintainer.email[0:-11] }}</td>{# 11 is 
len('@gentoo.org'), which this is guaranteed to end with in this loop #}
         <td>{{ maintainer.name|default('', True) }}</td>
       </tr>
       {%- endfor %}

Reply via email to