Changeset 115

Show
Ignore:
Timestamp:
11/13/06 17:32:49 (3 years ago)
Author:
lazaridis_com
Message:

closes #48, datetime type fields are not placed into the add_filter selection box (the whole code should be moved to the ticket-module

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • infra/trac-dev/templates/query.html

    r70 r115  
    115115                  <select name="add_filter" id="add_filter"> 
    116116                    <option></option> 
    117                     <option py:for="field_name, field in fields.iteritems()" 
     117                    <py:for each="field_name, field in fields.iteritems()" > 
     118                    <option py:if="field.type != 'datetime'" 
    118119                            value="$field_name" 
    119120                            disabled="${(field.type == 'radio' and 
     
    122123                      ${field.label} 
    123124                    </option> 
     125                    </py:for> 
    124126                  </select> 
    125127                  <input type="submit" name="add" value="+" />