diff roundup/templates/classic/html/issue.index @ 1003:f89b8d32291b

Hack hack hack... . Implemented security assertion idea punted to mailing list (pretty easy to back out if someone comes up with a better idea) so editing "my details" works again. Rationalised and cleaned up the actions in any case. . fixed some more display issues (stuff appearing when it should and shouldn't) . trying a nicer colouring scheme for the top level page . handle no grouping being specified . fixed journaltag so the logged-in user is journalled, not admin!
author Richard Jones <richard@users.sourceforge.net>
date Sun, 01 Sep 2002 12:18:41 +0000
parents 1798d2fa9fec
children d6c13142e7b9
line wrap: on
line diff
--- a/roundup/templates/classic/html/issue.index	Sun Sep 01 04:32:30 2002 +0000
+++ b/roundup/templates/classic/html/issue.index	Sun Sep 01 12:18:41 2002 +0000
@@ -11,7 +11,8 @@
    <th tal:condition="exists:request/columns/assignedto">Assigned&nbsp;To</th>
   </tr>
  <tal:block tal:repeat="i batch">
-  <tr tal:condition="python:batch.propchanged(request.group[1])">
+  <tr tal:condition="python:request.group[1] and
+                            batch.propchanged(request.group[1])">
    <th tal:attributes="colspan python:len(request.columns)"
        tal:content="python:i[request.group[1]]" class="group">
    </th>
@@ -38,13 +39,13 @@
  <tr>
   <td style="padding: 0" tal:attributes="colspan python:len(request.columns)">
    <table class="list">
-    <tr><th style="text-align: left">
+    <tr><th style="text-align: left; border: 0">
      <a tal:define="prev batch/previous" tal:condition="prev"
         tal:attributes="href python:request.indexargs_href(request.classname,
         {':startwith':prev.start, ':pagesize':prev.size})">&lt;&lt; previous</a>
      &nbsp;
     </th>
-    <th style="text-align: right">
+    <th style="text-align: right; border: 0">
      <a tal:define="next batch/next" tal:condition="next"
         tal:attributes="href python:request.indexargs_href(request.classname,
          {':startwith':next.start, ':pagesize':next.size})">next &gt;&gt;</a>

Roundup Issue Tracker: http://roundup-tracker.org/