1. Robot Mirror
  2. bugs.python.org

Source

bugs.python.org / html / issue.item.html

Diff from to

File html/issue.item.html

  • Ignore whitespace
 
 <td class="content" metal:fill-slot="content">
 
-<p tal:condition="python: context.id and context.imported_from_sf"><a tal:attributes="href
+<p tal:condition="python:not (context.is_view_ok()
+ or request.user.hasRole('Anonymous'))" i18n:translate="">
+ You are not allowed to view this page.</p>
+
+<p tal:condition="python:not context.is_view_ok()
+ and request.user.hasRole('Anonymous')" i18n:translate="">
+ Please login with your username and password.</p>
+
+<div tal:condition="context/is_view_ok">
+
+<p tal:condition="python: context.id and context.imported_from_sf">
+   <a tal:attributes="href
      python:'http://sourceforge.net/support/tracker.php?aid='+context.id;">
      Sourceforge tracker item</a> (for comparison)
 </p>
 
-
-<p tal:condition="not:context/is_view_ok" i18n:translate="">You are not
-    allowed to view this page.</p>
-
-<div tal:condition="context/is_view_ok">
-
 <form method="POST" name="itemSynopsis"
       onSubmit="return submit_once()" enctype="multipart/form-data"
       tal:attributes="action context/designator">