Edit detail for IssueTracker revision 42 of 44

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
Editor: simon
Time: 2009/10/30 15:22:32 GMT-7
Note: copy latest tracker from skin, this page is no longer the master copy

added:


added:

<!-- globals ------------------------- -->

changed:
- issueCount=issueCount 
 issueCount=issueCount

added:
 openstatuses=issueOpenStatuses
 allissues="pages(isIssue=1, sort_on='creationTime', sort_order='reverse', sort_limit=num)"
 openissues="[i for i in allissues if i.status in openstatuses]"
 allwithcat="lambda c:[i for i in _['allissues'] if i.category==c]"
 openwithcat="lambda c:[i for i in _['openissues'] if i.category==c]"
 allwithstatus="lambda s:[i for i in _['allissues'] if i.status==s]"

added:


changed:
-           <input type="text" name="textortitle" size="20" maxlength="100" 
-                  value="&dtml-searchexpr;" 
           <input type="text" name="textortitle" size="20" maxlength="100"
                  value="&dtml-searchexpr;"

changed:
-                  title="search issue pages" 
-            /><input type="submit" value="<dtml-translate domain=zwiki>search</dtml-translate>" 
-                     style="font-weight:bold" title="search issue pages" />,
                  title="search issue pages"
            /><input type="submit" value="<dtml-translate domain=zwiki>search</dtml-translate>"
                     style="font-weight:bold" title="search issue pages" />

removed:
-          <a href="&dtml-filterUrl;"><dtml-translate domain=zwiki>filter</dtml-translate></a>, 
-          <a href="&dtml-issueBrowserUrl;"><dtml-translate domain=zwiki>browse</dtml-translate></a>,

added:


changed:
-                      ><dtml-var "_.len(pages(isIssue=1,status=x_sequence_item))"
                      ><dtml-var "_.len(allwithstatus(x_sequence_item))"

added:

<!-- overview by category ------------------------- -->
<p>
<dtml-if "not REQUEST.get('overview',0)">
<div style="font-size:small;">
<a href="&dtml-URL;?overview=1">[+] show overview</a>
</div>
<dtml-else>
<div style="font-size:small; border-bottom:thin solid #cccccc; background-color:#f0f0f0;">
<a href="&dtml-URL;">[-] hide overview</a> Open issues by category:
<dtml-let 
    barearg="'bare' in QUERY_STRING and '&bare=%s'%REQUEST.get('bare') or ''"
    href="lambda x:'%s?category=%s&sort_on=status_index&overview=1%s'%(_['URL'],_.this.urlquote(x),_['barearg'])"
    cats=issueCategories
    numcats="_.len(cats)"
    topcats=issueTopLevelCategories
    numcols="_.len(topcats)"
    catsbeginningwith="lambda prefix:[c for c in _['cats'] if c.startswith(prefix)]"
    colvalues="[catsbeginningwith(c) for c in topcats]"
    longest="max([_.len(col) for col in colvalues])"
    >
<table width="100%" border=0 cellpadding="0" cellspacing="0"
  <tr valign="top">
    <dtml-in "_.range(numcols)" prefix=col>
      <td width="<dtml-var "'%s%%'%(100/numcols)">">
        <table border="0" width="100%">
        <dtml-in "_.range(longest)" prefix=row>
        <dtml-let 
          row=row_sequence_item
          col=col_sequence_item
          >
          <dtml-if "row < _.len(colvalues[col])">
          <dtml-let
            cat="colvalues[col][row]"
            open="openwithcat(cat)"
            all="allwithcat(cat)"
            issues="open or all"
            highestseverity="min([i.severity_index for i in issues]+[5]) #XXX your highest severity_index"
            firsthighissue="([i for i in issues if i.severity_index==highestseverity]+[None])[0]"
            colour="firsthighissue and firsthighissue.issueColour or '#bbeebb'"
            bold="cat == REQUEST.get('category','')"
            >
            <tr height="<dtml-var "'' #'%s'%(10+_.len(open)/2)">"
                style="font-size:<dtml-var "'small' #'%spt'%(10+_.len(open)/4)">">
            <td bgcolor="&dtml-colour;" style="<dtml-var "'' #bold and 'border:2px black solid' or ''">">
              <dtml-var "bold and '<b>' or ''">
              <a href="<dtml-var "href(cat)">"
                >&dtml-cat;&nbsp;<dtml-var "_.len(open)">
              </a>
              <dtml-var "bold and '</b>' or ''">
            </td>
            </tr>
          </dtml-let>
          <dtml-else>
            <tr>
            <td>&nbsp;</td>
            </tr>
          </dtml-if>
        </dtml-let>
      </dtml-in>
      </table>
      </td>
    </dtml-in>
  </tr>
</table>
</dtml-let>
</div>
</dtml-if>


changed:
-   - or, if we have a query string, search and sort according to those 
   - or, if we have a query string, search and sort according to those

changed:
- <dtml-let 
 <dtml-let

added:
  QUERY_STRING="QUERY_STRING.replace('overview=1','')"

changed:
-  or 
  or

changed:
-   pages(isIssue=1, sort_on='creationTime', sort_order='reverse', sort_limit=num)[:recentnum])
   allissues[:recentnum])

changed:
-          bold="0#(status in ('open','pending') and 
-          #severity not in ('wishlist',) and 
-	  #page.ageInDays() > 60)"
-	  titleseparator="_.string.find(Title,' ')"
-	  issuenmbr="titleseparator != -1 and Title[:titleseparator] or 'None'"
-	  issuenam="titleseparator != -1 and Title[titleseparator+1:] or 'None'"
          bold="0#(status in ('open','pending') and
          #severity not in ('wishlist',) and
    #page.ageInDays() > 60)"
    titleseparator="_.string.find(Title,' ')"
    issuenmbr="titleseparator != -1 and Title[:titleseparator] or 'None'"
    issuenam="titleseparator != -1 and Title[titleseparator+1:] or 'None'"

changed:
-               ><a href="&dtml-wiki_url;/&dtml-id;" 
               ><a href="&dtml-wiki_url;/&dtml-id;"

changed:
-               ><a href="&dtml-wiki_url;/&dtml-id;" 
               ><a href="&dtml-wiki_url;/&dtml-id;"

added:


changed:
-           <input 
-            type="text" name="newtitle" 
           <input
            type="text" name="newtitle"

changed:
-         </select> 
-         &nbsp;<dtml-translate domain=zwiki>Severity:</dtml-translate><select 
         </select>
         &nbsp;<dtml-translate domain=zwiki>Severity:</dtml-translate><select

changed:
-         </select> 
         </select>

changed:
-         <textarea name="newtext" wrap="virtual" rows="5" cols="40" 
         <textarea name="newtext" wrap="virtual" rows="5" cols="40"

changed:
-       <td><b><input 
-               name="submit" type="submit" 
-               value="<dtml-translate domain=zwiki>add issue</dtml-translate>" 
       <td><b><input
               name="submit" type="submit"
               value="<dtml-translate domain=zwiki>add issue</dtml-translate>"

changed:
- 


changed:
- 


This is the ZWiki? bug database. See also: common KnownIssues?, Debian zope-zwiki bugs, Zope bugs, TrackerSearchTips?, about ZwikiTracker?, serious open issues by category.

or report an issue 0 open 0 pending 0 closed

[+] show overview

# visit /setupTracker to sort by name category severity status age modified
 

Add a new issue:

Name:
Category:  Severity:  Status:
Details: