1. Robot Mirror
  2. bugs.python.org

Source

bugs.python.org / html / user.index.html

Diff from to

File html/user.index.html

  i18n:translate="">User listing</span>
 <td class="content" metal:fill-slot="content">
 
-<span tal:condition="not:context/is_view_ok"
+<span tal:condition="python:not (context.is_view_ok()
+ or request.user.hasRole('Anonymous'))"
  i18n:translate="">You are not allowed to view this page.</span>
 
-<table width="100%" tal:define="batch request/batch" tal:condition="context/is_view_ok" class="list">
+<span tal:condition="python:not context.is_view_ok()
+ and request.user.hasRole('Anonymous')"
+ i18n:translate="">Please login with your username and password.</span>
+
+<table width="100%" tal:condition="context/is_view_ok" class="list"
+       tal:define="batch request/batch">
 <tr>
  <th i18n:translate="">Username</th>
  <th i18n:translate="">Real name</th>